-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
bind:offsetWidth causes accessibility failure #3948
Comments
Good catch. Would |
Ahh yeah. I agree. That seems like the better solution. Thanks! |
pngwn
added a commit
to pngwn/svelte
that referenced
this issue
Nov 18, 2019
pngwn
added a commit
to pngwn/svelte
that referenced
this issue
Nov 18, 2019
Awesome, thanks for the report. |
pngwn
added a commit
to pngwn/svelte
that referenced
this issue
Nov 18, 2019
pngwn
added a commit
to pngwn/svelte
that referenced
this issue
Nov 18, 2019
pngwn
added a commit
to pngwn/svelte
that referenced
this issue
Nov 18, 2019
Let’s keep this open till it is dealt with. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using
bind:offsetWidth
on an element, an element is added to the dom, but does not include any accessibility information.To Reproduce
Add
bind:offsetWidth
to any elementExpected behavior
The element should be rendered in an accessible way. Likely the most desirable behavior is to render the element with role="none". Here's the failure message I'm getting
Severity
We will still use svelte, but it will likely cause us to not use the feature, which is highly annoying. ;)
The text was updated successfully, but these errors were encountered: