Skip to content

fix: tab stop copy button and monaco editor (response header, adaptative card) - #4086

Merged
Claudio Castillo (claudio-codebase) merged 12 commits into
devfrom
fix/tab_stop_copy_button
Oct 16, 2026
Merged

Claudio Castillo (claudio-codebase) merged 12 commits into
devfrom
fix/tab_stop_copy_button

Conversation

@claudio-codebase

@claudio-codebase Claudio Castillo (claudio-codebase) commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixing 3 small accessibility bugs. The first two are instances where navigating and selecting the copy button using the keyboard lost focus and restarted keyboard navigation flow. The last is an issue where tab navigation was trapped by the monaco editor because it was unnecessarily an editable version of the monaco editor. lastly, set aria-labels to dropdown menu to remove accessibility insights flag.

How to test changes

testing old behaviour currently observed from prod

copy button

pressing the copy button with keyboard copies, but loses focus of the icon. can be observed from the response headers and adaptive cards>json tabs in query response section of the page.
image

monaco editor

editable monaco editor:
image

aria labels

inspect element on the drop downs in query runner:
image

run accessibility insights fast pass on graph explorer:
image

new observed behavior

copy button

copy remains focused
image

monaco editor

the editor is now read only. tab navigation should be fully possible on response headers tab both tabbing forward and shift-tabbing backward. can still copy and select text as in other areas where there are read-only editors (in responses)
image

aria labels

inspect element on drop downs in the query runner:
image

running fast pass from accessibility insights will not flag this issue any longer.

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

@claudio-codebase
Claudio Castillo (claudio-codebase) marked this pull request as ready for review October 2, 2026 22:04
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

@claudio-codebase

Copy link
Copy Markdown
Contributor Author

going to close PR #4092 and instead add those changes to this pull request.

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

1 similar comment
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-wave-0c4fb390f-4086.eastus2.4.azurestaticapps.net

@claudio-codebase
Claudio Castillo (claudio-codebase) merged commit 90074db into dev Oct 16, 2026
24 checks passed
@claudio-codebase
Claudio Castillo (claudio-codebase) deleted the fix/tab_stop_copy_button branch October 16, 2026 20:08
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants