Open Bug 2081755 Opened 1 month ago Updated 1 month ago

aria-describedby pointing to a role="status" element produces an empty accessible description

Categories

(Core :: Disability Access APIs, defect)

Firefox 157
ARM64
macOS
defect

Tracking

()

People

(Reporter: andip, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:
Test case:

<!doctype html>
<button aria-describedby="status-target">Status target</button>
<div id="status-target" role="status"><span>Described by a status</span></div>

<button aria-describedby="div-target">Plain div target</button>
<div id="div-target"><span>Described by a plain div</span></div>

DevTools › Accessibility, inspect each button, the Status target button does have an empty description, contrary to the Plain div target button.

The expectation would be that the Status target has a description sourced from its aria-describedby element, regardless of the role="status"

Implementation thought: changing the Gecko STATUSBAR role from eNoNameRule to eNameFromSubtreeIfReqRule would probably fix this. However, I'm not sure if that would have problematic side effects. That needs investigation.

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