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

Add aria-hidden=true to resize-listeners #3949

Merged
merged 2 commits into from
Nov 18, 2019

Conversation

pngwn
Copy link
Member

@pngwn pngwn commented Nov 18, 2019

Adds aria-hidden="true" to objects generated by `add_resize_listener. This removes them from the accessibility API completely, ensuring that these objects will not interfere with assistive software.

Is this the only place we are creating objects in this manner? Are there any other compiler-generated elements that exist for functional rather than structural purposes?

I assume we're still doing the chanelog thing so I threw one in there.

Fixes #3948.

@Rich-Harris Rich-Harris merged commit a85c250 into sveltejs:master Nov 18, 2019
@Rich-Harris
Copy link
Member

Nice. That's the only one, unless we follow through on the style properties RFC

Conduitry added a commit to mrkishi/svelte that referenced this pull request Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bind:offsetWidth causes accessibility failure
2 participants