Closed Bug 1780228 Opened 2 years ago Closed 2 years ago

Aria-label not respected by input component

Categories

(Core :: Disability Access APIs, defect, P3)

Firefox 98
Desktop
macOS
defect

Tracking

()

VERIFIED FIXED
105 Branch
Tracking Status
firefox105 --- verified

People

(Reporter: aloha, Assigned: morgan)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

  1. Launch FF with VO
  2. data:text/html,<label for="example-number">Your favorite number?</label><input type="text" name="example-number" value="11" id="example-number" aria-label="The best number you know of">
  3. Move VO cursor to input box

Actual results:

VO says: "11, Insertion at end of text, Your favorite number? edit text"

Expected results:

VO says: "11, Insertion at end of text, The best number you know of, edit text" or similar, reporting the current value

The core a11y layer is exposing this correctly. Morgan, any idea if/why Mac would be doing this differently?

Flags: needinfo?(mreschenberg)
OS: Unspecified → macOS
Hardware: Unspecified → Desktop

Hmm, we aren't exposing the label via AXDescription, like we should be.
Maybe we need to add this role to providesLabelNotTitle?
I'll look at this :)

Severity: -- → S3
Priority: -- → P3
Depends on: 1781153
Assignee: nobody → mreschenberg
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(mreschenberg)
Pushed by mreschenberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f48af348766e
Expose label, not title, on entries and spinbuttons r=eeejay
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
QA Whiteboard: [qa-105b-p2]

I managed to reproduce this issue on a 2022-07-19 Nightly build on macOS 12, using the STR from the Description. Verified as fixed on Firefox 105.0b7(build ID: 20220904185841) and Nightly 106.0a1(build ID: 20220904213226) on macOS 12.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-105b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: