Form
Browser up to date
Published on
Description
The browser up to date input is a hidden field marked is="ds-input-browser-up-to-date", posted as true. If the component detects a browser older than the supported release it changes the value to false.
When the server returns an error for this field, the component renders a fieldset with links to update Chrome, Edge, Firefox or Safari. Detection reads the user agent string, so treat the result as advice, not as access control.
Example
Accessibility
- In the default state the field is
type="hidden"and is not announced. - In the error state the update links sit in a
<fieldset>with the error message, and each link carries a visually hidden browser name.
References
Related
- JavaScript enabled — tells the server the enhancements ran
- Errors — how field errors are summarised
Variables
id— defaults tobrowser-up-to-datelegend,hint,error— used in the error state