Open Bug 1737491 Opened 3 years ago Updated 3 years ago

Keyboard accessibility audit flags optgroup as clickable

Categories

(DevTools :: Accessibility Tools, defect)

Firefox 95
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: pjhanzlik, Unassigned)

Details

Attachments

(1 file)

What were you doing?

  1. Open attached file named "select optgroup unclickable.html" with Firefox
  2. Open Accessibility Tools (Shift + F12)
    • Enable Accessibility tree if required
  3. Open "Check for issues" picker (Tab, Enter)
  4. Pick "Keyboard" (Tab, Tab, Tab, Enter)

What happened?

Accessibility tools indicates "Clickable elements must be focusable and should have interactive semantics" for statictext: Unclickable because it has actions: ["Click"] in accessibility properties.

What should have happened?

Clicking an optgroup label does not perform a perceivable action in Firefox. Thus the statictext produced by a labeled optgroup should not have a "Click" action.

Anything else we should know?

Tested on Windows Firefox Nightly and Ubuntu packaged Firefox

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.