gecko-dev/accessible
James Teh 590d7137ee Bug 1668707: When deciding whether to create a div Accessible, skip the first/last child if it's invisible and consider inline-block, etc. r=MarcoZ
1. Text nodes can be created in the DOM just because there was white space in the source, but this isn't always visible.
    We shouldn't create an Accessible in the invisible case.
    However, there could be an inline frame after/before an invisible text node, so we still need to check for that.

2. We should create div Accessibles if there are inline-block children such as buttons.
    Previously, we weren't doing this because these aren't caught by IsInlineFrame.
    We now use IsInlineOutside, which also catches text and br.
    Aside from being a bug, this fix was needed in this patch to fix tests which previously created div Accessibles because of invisible text nodes, but lost the Accessibles once this was fixed.

3. Similarly, we should create div Accessibles if there is a previous text sibling.
    Again, IsInlineFrame wasn't catching these, but IsInlineOutside does.

4. Adjust various tests to fix assumptions based on the previous behaviour.
    Some needed role="none" to force flattening, while some needed an id to force creation.

Differential Revision: https://phabricator.services.mozilla.com/D92170
2020-10-02 07:15:15 +00:00
..
android Bug 1651705: Part 6 - Update Android a11y to work with NativeWeakPtr; r=eeejay 2020-09-21 21:48:53 +00:00
aom Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
atk Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
base Bug 1668707: When deciding whether to create a div Accessible, skip the first/last child if it's invisible and consider inline-block, etc. r=MarcoZ 2020-10-02 07:15:15 +00:00
generic Bug 1666998 - Implement layout-independent paragraph offset search, r=Jamie 2020-10-01 14:16:07 +00:00
html Bug 1665962: Introduce roles::LISTITEM_MARKER to rolemap, add mac mapping to AXListMarker r=eeejay,Jamie 2020-09-29 22:31:58 +00:00
interfaces Bug 1665962: Introduce roles::LISTITEM_MARKER to rolemap, add mac mapping to AXListMarker r=eeejay,Jamie 2020-09-29 22:31:58 +00:00
ipc Bug 1667262 - Add AXStyleTextMarkerRangeForTextMarker. r=morgan 2020-09-29 23:25:35 +00:00
mac Backed out 2 changesets (bug 1668142, bug 1668137) for build bustage on MOXSearchInfo.mm. CLOSED TREE 2020-10-02 03:53:25 +03:00
other Bug 1649217 - Part 2: Send isSelectionCollapsed for caret move in IPC. r=Jamie 2020-07-02 18:08:52 +00:00
tests Bug 1668707: When deciding whether to create a div Accessible, skip the first/last child if it's invisible and consider inline-block, etc. r=MarcoZ 2020-10-02 07:15:15 +00:00
windows Bug 1666955 part 3: Enable window emulation for ZoomText and ZoomText Fusion 2021 and later. r=MarcoZ 2020-09-24 05:13:16 +00:00
xpcom Bug 1665162 - Add text leaf parameterized attributes. r=morgan 2020-09-16 23:22:18 +00:00
xul Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
moz.build Bug 1630391: Add telemetry test for backplate and a11y theme scalars. r=chutten,yzen 2020-06-12 17:02:45 +00:00