You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use <output> instead of the ["status"/"alert"] role to ensure accessibility across all devices.
Another example for SVGs:
<svgrole='img'>...</svg>
With similar warning:
Use <img> instead of the "img" role to ensure accessibility across all devices.
Which is strange because <output> is primarily used in forms, unlike alert and status containers which are often treated as live regions or focus trapped containers. (this isn't accurate)
I did some digging and both live regions and SVG images appear to be valid in these contexts.
The text was updated successfully, but these errors were encountered:
I've been updating a few pieces of code after updating to include this rule, and I'm finding that certain usages are flagged possibly incorrectly?
For e.g., I have code like so that is used as a global page alert element:
And gives the following output:
Another example for SVGs:
With similar warning:
Which is strange because(this isn't accurate)<output>
is primarily used in forms, unlike alert and status containers which are often treated as live regions or focus trapped containers.I did some digging and both live regions and SVG images appear to be valid in these contexts.
The text was updated successfully, but these errors were encountered: