Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARIA notify iframe restrictions #11004

Open
aluhrs13 opened this issue Feb 5, 2025 · 4 comments
Open

ARIA notify iframe restrictions #11004

aluhrs13 opened this issue Feb 5, 2025 · 4 comments
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest

Comments

@aluhrs13
Copy link

aluhrs13 commented Feb 5, 2025

What problem are you trying to solve?

Our proposal for ARIA Notify gives sites the ability to announce changes on the page to screen readers. We believe that we need to offer sites the ability to allow or deny iframes from accessing this API which would need an HTML solution.

What solutions exist today?

ARIA live regions solve similar problems, but not exactly. See linked explainer above for details.

How would you solve it?

We think adding allow-aria-notify as a sandbox option would be a good solution.

Anything else?

Not 100% sure this template was the right one for this. Feel free to redirect me 🙂

@aluhrs13 aluhrs13 added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest labels Feb 5, 2025
@domenic
Copy link
Member

domenic commented Feb 6, 2025

I think permissions policy is probably a better fit, as it doesn't require opting into the whole sandboxing infrastructure. What do you think?

@alisonmaher
Copy link

The goal would be for this to be allowed by default to ensure accessibility coverage, and then authors can disallow it as they see fit. Is that possible with permissions policy? I was under the impression that it was the opposite (disallowed by default, and authors allow as they see fit).

@domenic
Copy link
Member

domenic commented Feb 6, 2025

Yes, if you set a default allowlist of *, then authors can override that with <iframe allow="aria-notify 'none'"> or Permissions-Policy: aria-notify=(self).

@alisonmaher
Copy link

Ah I see, if we are able to make it allowed by default using *, then that approach sounds reasonable to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest
Development

No branches or pull requests

3 participants