swagger-api / swagger-api/swagger-ui

Add ability to focus on operation expand/collapse button

Open
#10,708 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog cat: a11y
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

It is not possible to focus on the operation expand/collapse button (marked in red on the attached image). It is possible to expand/collapse the operation by focusing and interacting with the overall operation button (marked in blue), but the other button is not focusable.

Image

This task covers issues originally reported in:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reproducing the operation expand/collapse controls in Swagger UI with keyboard navigation and locate the red button shown in the issue image. Done means that button can receive focus and can independently expand or collapse the operation, with the existing behavior for the overall operation control preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.