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
presently the picture element allows for no roles or aria-* attributes, which generally makes sense because the picture element itself is not an accessible object. That said, there could be a situation where a picture that contains a decorative image needs to be hidden..... and for whatever reason the expected alt="" on the fallback image cannot be used, but aria-hidden=true on the picture element could. Upon testing this just now, seems like this would be a viable option as Chromium browsers, Firefox and Webkit all ignore the child <img> in this situation.
The text was updated successfully, but these errors were encountered:
presently the picture element allows for no roles or aria-* attributes, which generally makes sense because the picture element itself is not an accessible object. That said, there could be a situation where a picture that contains a decorative image needs to be hidden..... and for whatever reason the expected
alt=""
on the fallback image cannot be used, butaria-hidden=true
on the picture element could. Upon testing this just now, seems like this would be a viable option as Chromium browsers, Firefox and Webkit all ignore the child<img>
in this situation.The text was updated successfully, but these errors were encountered: