Open
Description
Q&A (please complete the following information)
- OS: Windows
- Browser: Chrome
- Version: 73.0.3683.86
- Method of installation: npm
- Swagger-UI version: 3.17.6
- Swagger/OpenAPI version: latest
Describe the bug you're encountering
Aggregated accessibility bugs related to WCAG 2.1 2.1.1, 2.4.3, and 2.4.7 && Keyboard Usability
- Keyboard focus is not visible/indicated for Cancel, Execute, and Clear buttons.
- Unable to navigate within "Models" section by keyboard -- Tab navigation skips directly from deleteUser to validator.
- Unable to navigate to Example Value/Edit Value or Models links via keyboard -- Tab navigation skips directly from "Try it out" to Parameter content type.
- Keyboard focus remains outside of pop-up window (Available authorizations dialog box).
- Keyboard focus is not clearly visible on Schemes combo box & Authorize button.
- Keyboard focus on Expand/Collapse carrot is not visible.
- Keyboard focus is not visible on "Try it out" button.
- Keyboard focus is not clearly visible on "Response content type" combo box.
- Keyboard focus not visible on "Close" button.
To reproduce...
Steps to reproduce the behavior:
- Navigate to https://petstore.swagger.io/#/pet/addPet -> Tab key over to "Try it out" button -> Enter key -> Tab key down to Execute -> Enter key -> Tab key over to Clear -> Enter key
- Navigate to https://petstore.swagger.io/#/ -> Tab key through the entire page
- Navigate to https://petstore.swagger.io/#/user/createUser -> Tab key to "Try it out" button -> Tab key
- Navigate to https://petstore.swagger.io/#/pet -> Tab key to lock icon -> Enter key -> Tab key
- Navigate to https://petstore.swagger.io/#/ -> Tab key to Schemes combo box -> Tab key to Authorize button
- Navigate to https://petstore.swagger.io/ -> Tab key to pet -> Tab key to http://swagger.io link -> Tab key -> Enter key
- Navigate to https://petstore.swagger.io/#/pet/addPet -> Tab key over to "Try it out" button -> Enter key
- Navigate to https://petstore.swagger.io/#/pet/addPet -> Tab key down to "Parameter content type" combo box -> Tab key
- Navigate to https://petstore.swagger.io/#/ -> Tab key to "Authorize" button -> Enter key -> Tab key down to "Close" button -> Enter key
Expected behavior
- Keyboard focus should be clearly visible/indicated for Cancel, Execute, and Clear buttons
- Keyboard-only users should be able to access the content within "Models" section
- Keyboard-only users should be able to access the clickable links Example Value/Edit Value and Models
- Keyboard focus should be logical inside the dialog box -- should only iterate inside the dialog box and should not move out of it until & unless exited. Screen reader users will not be able to understand the flow of the focus inside and out of the dialog box.
- Keyboard focus should be clearly visible on Schemes combo box & Authorize button.
- Keyboard focus on Expand/Collapse carrot should be visible.
- Keyboard focus on "Try it out" button should be visible.
- Keyboard focus on "Response content type" combo box should be clearly visible.
- Keyboard focus on "Close" button should be visible.