Closed Bug 2050797 Opened 1 month ago Closed 20 days ago

Target page of about:debugging is not usable with the keyboard (no focus indicator...)

Categories

(DevTools :: about:debugging, defect, P2)

Desktop
All
defect

Tracking

(Accessibility Severity:s2, firefox153 disabled, firefox154 disabled, firefox155 verified)

VERIFIED FIXED
155 Branch
Accessibility Severity s2
Tracking Status
firefox153 --- disabled
firefox154 --- disabled
firefox155 --- verified

People

(Reporter: danibodea, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(2 files)

Note

  • The colapsible/expandable elements cannot be focused with TAB key: Temporary Extensions, Extensions, Service Workers, Shared Workers, Other Workers.
  • The user can focus hidden elements under collapsed sections using TAB key (no visual feedback when sections are collapsed).
  • When using NVDA to navigate using Up/Down Arrows, the these elements are presented incorrectly as "links". Example: "Link, Heading Level 2, Temporary Extensions".
  • NVDA dows not mention they are expandable/colapsible, but they can be activated using both ENTER and SPACE. Furthermore, NVDA reads the the content hidden under colapsed sections.

Found in

  • Nightly v154.0a1

Affected versions

  • Nightly v154.0a1

Tested platforms

  • Affected platforms: All
  • Unaffected platforms: None

Steps to reproduce

  1. Flip browser.nova.enabled to TRUE
  2. Load about:debugging#/runtime/this-firefox
  3. Use TAB key to focus the colapsible/expandable elements (Ex "Temporary Extensions")

Expected result

  • The used is able to focus and activate the section titles interactible elements by keyboard navigation.

Actual result

  • The user is not able to focus and activate the sections titles interactible elements by keyboard navigation.
  • When using NVDA, the section titles can be found with Up/Down Arrows and enabledd with ENTER/SPACE, but are incorrectly presented by NVDA as links. Keep in mind that NVDA reads the hidden content under colapsed sections by default AND that interactive elements under colapsed sections are incorrectly focusable by normal keyboard navigation.

Regression range

  • This is not a recent regression since it reproduces since before the NOVA implementation.

Additional notes

  • While the ultimate resolution of this matter remains uncertain, I have provided comprehensive information to facilitate an informed decision.
Has STR: --- → yes
QA Whiteboard: [QA-5218][qa-found-in-c154][S3]
Keywords: access
OS: Unspecified → All
Hardware: Unspecified → Desktop
Accessibility Severity: --- → s2

The whole page has issues with keyboard navigation, I think we should address it as a whole and not just fix the expand/collapse icons here.

Severity: -- → S3
Priority: -- → P2
Summary: The expandable/colapsible interactive elements are not keyboard focusable → Target page of about:debugging is not usable with the keyboard (no focus indicator...)

The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:jdescottes, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(jdescottes)

I think for devtools a11y issues we can diverge from the accessibility severity. Feel free to bump.

Flags: needinfo?(jdescottes)

Highlights of this patch

  • Switched <A> to a <BUTTON>
  • Moved the <H2> to be the outer element as screen-reader users navigate panes by heading, it also fits the typical ARIA accordion pattern of H2 > BUTTON
  • Also added aria-expanded/aria-controls
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Duplicate of this bug: 2056596
Attachment #9606523 - Attachment description: Bug 2050797 - [devtools] Make the collapsible section headings keyboard accesible r=#devtools → Bug 2050797 - [devtools] Make the collapsible section headings keyboard accessible r=#devtools
Pushed by hmanilla@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a122b1d7f1a3 https://hg.mozilla.org/integration/autoland/rev/3d57a830f067 [devtools] Make the collapsible section headings keyboard accessible r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

The patch landed in nightly and beta is affected.
:bomsy, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(hmanilla)

I can confirm this fix in Nightly v155.0a1 in Windows 10/11, MacOS 14 and Ubuntu 24.
The expandable/colapsible section can be accessed with keyboard navigation, moreover, the elements inside colapsed sections can no longer be focused invisibly.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: