fune/accessible
Nathan LaPre f8b9470054 Bug 854796: Anchor, area elements without href shouldn't have link role, r=Jamie,devtools-reviewers
Per the HTML-AAM spec, a and area elements without href attributes should have
generic roles. This revision implements this preference by creating hypertext
accessibles when said elements lack href attributes (or click listeners). A
byproduct of this change is recognizing that a elements have no intrinsic role
mapping; they could be generics or links. This revision handles situations
where href or click listeners might appear or dissapear, and recreates the
accessibles when necessary. Since image map areas are handled by their
containing image maps, this revision specializes HTMLAreaAccessible::NativeRole
to account for the discrepancy that we can't account for in the markup map.
This revision also changes the relevant WPT test expectations, updates existing
tests that this change affects, and adds tests to verify that changing href
and click listeners dynamically changes the role appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D183550
2023-07-24 19:31:29 +00:00
..
android Bug 1694573 part 5: Make LocalAccessible call Platform*Event. Remove most of the platform HandleAccEvent overrides. r=eeejay 2023-07-19 02:56:54 +00:00
aom Bug 1840732 Part 5: Remove unnecessary includes from accessible/aom, r=Jamie 2023-07-07 03:22:08 +00:00
atk Bug 1694573 part 5: Make LocalAccessible call Platform*Event. Remove most of the platform HandleAccEvent overrides. r=eeejay 2023-07-19 02:56:54 +00:00
base Bug 854796: Anchor, area elements without href shouldn't have link role, r=Jamie,devtools-reviewers 2023-07-24 19:31:29 +00:00
basetypes Bug 1840732 Part 2: Remove unnecessary includes from accessible/basetypes, r=Jamie 2023-07-07 03:22:07 +00:00
docs
generic Bug 854796: Anchor, area elements without href shouldn't have link role, r=Jamie,devtools-reviewers 2023-07-24 19:31:29 +00:00
html Bug 854796: Anchor, area elements without href shouldn't have link role, r=Jamie,devtools-reviewers 2023-07-24 19:31:29 +00:00
interfaces Bug 412902: Remove unused accessibility events. r=eeejay 2023-07-19 02:56:55 +00:00
ipc Bug 1694573 part 4: Make PlatformTextSelectionEvent take TextRange instead of TextRangeData. r=eeejay 2023-07-19 02:56:54 +00:00
mac Bug 1694573 part 5: Make LocalAccessible call Platform*Event. Remove most of the platform HandleAccEvent overrides. r=eeejay 2023-07-19 02:56:54 +00:00
other Bug 1694573 part 2: Make Platform*Event functions take Accessible instead of RemoteAccessible. r=eeejay 2023-07-19 02:56:53 +00:00
tests Bug 854796: Anchor, area elements without href shouldn't have link role, r=Jamie,devtools-reviewers 2023-07-24 19:31:29 +00:00
windows Bug 412902: Remove unused accessibility events. r=eeejay 2023-07-19 02:56:55 +00:00
xpcom Bug 1840732 Part 4: Remove unnecessary includes from accessible/xpcom, r=Jamie 2023-07-07 03:22:08 +00:00
xul Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
moz.build Bug 1754905 - Match Pivot API in nsIAccessiblePivot. r=Jamie 2023-06-28 21:45:16 +00:00