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
{{ message }}
Repository navigation
Accessibility Issues with User Feedback Widget #23288
Tab and Shift + Tab should not move focus to elements outside the modal (they currently can)
When the modal loads, the first input of the form should receive focus (currently nothing in the modal is focused when the modal loads)
The "Close" button is rendered using an anchor tag without an href attribute. As a result it is not in the tab sequence and keyboard users are not able to use it. To fix this, a button element should be used instead. Since the element does not cause navigation, the button element will also have the proper semantics and will improve the experience for users of assistive technology.
The outermost div of the dialog needs role set to dialog
The outermost div of the dialog needs aria-modal set to true
The outermost div of the dialog needs aria-labelledby set to the id of the modal's h2
Activity
devinsm commentedon Jan 9, 2021
I would be happy to open a PR. I tried to start a PR, but got stuck with this block of code:
https://github.com/getsentry/sentry-javascript/blob/a833f0ec0a186f0672a536ea8f7d3b129a71a4fe/packages/browser/src/helpers.ts#L191-L215
It looks like the modal code is loaded from an external source at runtime. Is the modal code not open source?
kamilogorek commentedon Jan 25, 2021
Transferred the issue, as User Feedback Dialog lives in this repository.
github-actions commentedon Feb 15, 2021
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it
Status: Accepted, I will leave it alone ... forever!"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
fix(feedback) Improve accessibility for user feedback (#24151)