-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Description
Swagger UI has multiple buttons that dynamically change the content of the page. Users navigating the website with a screen reader might not know that anything changes, as there is no indication that it does, e.g.:
-
no indication that there are validation errors when authorizing or that the authorization was successful (note: there is also no visual indication that the fields have validation errors)
-
no indication that inputs become enabled when clicking on
Try it outbutton -
no indication that there are validation errors or that the request was successful after clicking on
Executebutton in Try it out -
the fields with validation errors are not focused after clicking on
Executebutton -
no indication what was copied or that it was successful when clicking on
Copy to clipboardbutton
We could possibly address it with: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Guides/Live_regions
This task covers issues originally reported in: