"Report an issue with dark mode" link/control - which is implemented as an <a> element without href, so it's not keyboard-focusable. also, it acts as a button rather than being a link, and just transforms into a static bit of text once you click it with the mouse, so they'd also need to handle focus there after activation
(Reporting on behalf of Patrick H. Lauke on Mastodon)
Requirement
Ensure that the "Report an issue with dark mode" button is keyboard-focusable and behaves like a button, retaining focus after activation.
BDD
Feature: Improve Accessibility of the "Report an issue with dark mode" Button
Scenario: Keyboard accessibility for the "Report an issue with dark mode" button
Given the user is navigating with a keyboard
When the user tabs to the "Report an issue with dark mode" button
Then the button should be focusable
Scenario: Focus management after activation
Given the user clicks the "Report an issue with dark mode" button
When the button transforms into static text
Then the focus should be retained on the static textTest Steps
Test Case 1: Verify Keyboard Accessibility for the "Report an issue with dark mode" Button
- Navigate to the page with the "Report an issue with dark mode" button.
- Use the keyboard to tab through the interactive elements.
- AC1: Confirm that the "Report an issue with dark mode" button is keyboard-focusable.
Test Case 2: Verify Focus Management After Button Activation
- Use the keyboard or mouse to activate the "Report an issue with dark mode" button.
- AC2: Confirm that focus is retained on the static text after the button is clicked.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T371377#10034037 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T371377#10055758 |
| 2 | ✅ | T371377#10055758 |





