Closed Bug 1625864 Opened 5 years ago Closed 5 years ago

Non-linked html:a elements should not be exposed as links to VoiceOver.

Categories

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

Desktop
macOS
defect

Tracking

()

VERIFIED FIXED
mozilla77
Tracking Status
firefox76 --- wontfix
firefox77 --- verified

People

(Reporter: MarcoZ, Assigned: eeejay)

References

Details

(Whiteboard: [Mac2020_1])

Attachments

(4 files)

STR:

  1. With VoiceOver on, open data:text/html,<a>This might point to something in the future.</a>
  2. Read it with VoiceOver.
    • Expected: VoiceOver reads "This might point to something in the future." as normal text.
    • Actual: It reads the text as a link.

This is a placeholder link which has no href and therefore is not linked. It is neither linked nor focusable and should be exposed as non-linked to VoiceOver. Even though the accessible object has a link role, NVDA treats it as normal text because it isn't focusable nor linked. We must tell VoiceOver to do the same or expose a different role/subrole for this. Safari correctly exposes this and the other examples 6 through 8 as text only, or makes VoiceOver treat them as such.

Priority: -- → P2
Assignee: nobody → eitan
Priority: P2 → P1

We will probably be adding a lot to this. So let's make it nice to use.

Also stop recreating any accessible that has href modified.

Depends on D71257

I want to generalize it for other link stuff. Need a separate commit or
it is not recognized as a move, and won't retain history. For some reason.

Depends on D71258

This is the recommended role in the HTML Accessibility API Mappings draft[1].

Although Chrome and Safari just expose unlinked a tags as AXStaticText.
They also don't update the accessble if it gets an href. So while we
are doing this a bit differently, I think it is probably better. And VO is happy.

  1. https://www.w3.org/TR/html-aam-1.0/#html-element-role-mappings

Depends on D71259

See Also: → 1570540
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20bcd150f92c Promisify state change events test. r=Jamie https://hg.mozilla.org/integration/autoland/rev/0a4a66240a9f Fire state change event on LINKED change. r=Jamie,morgan https://hg.mozilla.org/integration/autoland/rev/cf3caf6f708c Rename mac link test. r=morgan
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/971bac1eeeab Promisify state change events test. r=Jamie https://hg.mozilla.org/integration/autoland/rev/525df90fb531 Fire state change event on LINKED change. r=Jamie,morgan https://hg.mozilla.org/integration/autoland/rev/623db5d31305 Rename mac link test. r=morgan https://hg.mozilla.org/integration/autoland/rev/7f2fc9ae7d7b Expose unlinked a tags as AXGroup. r=morgan
Flags: needinfo?(eitan)

The patch landed in nightly and beta is affected.
:eeejay, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(eitan)
Flags: needinfo?(eitan)

Reproduced the initial issue using old Nightly 2020-03-30, verified that this is fixed in latest Firefox Beta 77.0b4 on macOS 10.15.5 Beta.

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

Attachment

General

Created:
Updated:
Size: