gecko-dev/accessible
Emilio Cobos Álvarez 1ce0975b8e Bug 1761493 - Make Gecko internally consistent wrt what a link is. r=smaug
This is mostly edge-casey, but see bug 1757156 for an example where it's
causing some issues (granted, they could use `href="#"` or something
instead of an empty href).

It feels weird if a link looks like a link (because the CSS definition
of a link matches, which is "has an href") but then mostly doesn't
behave as a link.

We can't navigate anywhere if we don't have a valid URI but maybe JS
handles the relevant events as in bug 1757156.

Use the CSS definition (has href) since that's interoperable across
browsers. This should also make some stuff much faster (since checking
'is link' is now just a bit check instead of a virtual call).

(Awaiting try results, if no tests need adjustments then I need to write
some)

Differential Revision: https://phabricator.services.mozilla.com/D142107
2022-03-30 17:34:31 +00:00
..
android Bug 1713050 - P3: Add more granularities to AXSelectedTextChanged events. r=morgan 2022-03-16 05:56:26 +00:00
aom Bug 1714390 - P2: Use AccAttributes for accessible and text attributes. r=Jamie 2021-06-10 23:07:05 +00:00
atk Backed out 18 changesets (bug 1735970) for causing hazard bustages.CLOSED TREE 2022-03-23 10:27:08 +02:00
base Bug 1761200 - Check that parent is hypertext before getting attributes. r=Jamie 2022-03-25 18:41:12 +00:00
basetypes Backed out 18 changesets (bug 1735970) for causing hazard bustages.CLOSED TREE 2022-03-23 10:27:08 +02:00
docs Bug 1757257: Don't assert for a null frame in TextAttrsMgr::GetAttributes. r=morgan 2022-03-01 21:16:43 +00:00
generic Bug 1760880 - Push document resolution in initial cache. r=morgan 2022-03-23 22:24:52 +00:00
html Bug 1761493 - Make Gecko internally consistent wrt what a link is. r=smaug 2022-03-30 17:34:31 +00:00
interfaces Bug 1713050 - P2: Add granularity to a11y caret move events. r=morgan 2022-03-16 05:56:25 +00:00
ipc Bug 1760880 - Push document resolution in initial cache. r=morgan 2022-03-23 22:24:52 +00:00
mac Backed out 18 changesets (bug 1735970) for causing hazard bustages.CLOSED TREE 2022-03-23 10:27:08 +02:00
other Bug 1713050 - P3: Add more granularities to AXSelectedTextChanged events. r=morgan 2022-03-16 05:56:26 +00:00
tests Bug 1550644: nsTextEquivUtils: Add space for block elements when we encounter them. r=eeejay,adw 2022-03-24 00:06:15 +00:00
windows Backed out 18 changesets (bug 1735970) for causing hazard bustages.CLOSED TREE 2022-03-23 10:27:08 +02:00
xpcom Backed out 18 changesets (bug 1735970) for causing hazard bustages.CLOSED TREE 2022-03-23 10:27:08 +02:00
xul Backed out 18 changesets (bug 1735970) for causing hazard bustages.CLOSED TREE 2022-03-23 10:27:08 +02:00
moz.build Bug 1755383 - P3: Migrate HTML selection tests from mochitests to browser tests. r=morgan 2022-02-16 18:42:54 +00:00