w3c / wai-aria-practices

WAI Website Resource for aria-practices guidelines
https://aria-practices.netlify.app/aria/apg/
15 stars 14 forks source link

Assistive Technology Support iframe element requires an accessible name #263

Closed giacomo-petri closed 9 months ago

giacomo-petri commented 9 months ago

Example: https://www.w3.org/WAI/ARIA/apg/patterns/alert/examples/alert/#assistivetechnologysupport

According to specifications, iframe elements typically necessitate an accessibility name, with exceptions in cases where the iframe is inert or designated as purely decorative. Consequently, we have to assign an accessible name to these iframe elements.

giacomo-petri commented 9 months ago

I'm happy to resolve it with a PR, if it's approved, by adding a title="Assistive Technology Support"

giacomo-petri commented 9 months ago

closing, I've just realised I was in wai-aria-practices, instead of aria-practices

mcking65 commented 9 months ago

@giacomo-petri

If there is such a specification, it should be updated because naming iframes would typically be a problematic practice. I would be hard pressed to think of a case where an iframe should have an accessible name. iframes are not semantic structures. They are a like a div.