Changeset 249694 in webkit
- Timestamp:
- Sep 9, 2019, 8:19:45 PM (7 years ago)
- Location:
- branches/safari-608-branch
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/accessibility/tabindex-removed-expected.txt (added)
-
LayoutTests/accessibility/tabindex-removed.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/accessibility/AXObjectCache.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-608-branch/LayoutTests/ChangeLog
r249550 r249694 1 2019-09-09 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r249534. rdar://problem/55183098 4 5 AX: children cache are not re-computed if tab index is removed 6 https://bugs.webkit.org/show_bug.cgi?id=201502 7 8 Reviewed by Zalan Bujtas. 9 10 Source/WebCore: 11 12 Test: accessibility/tabindex-removed.html 13 14 If the tabindex changes, it can potentially affect whether an element is accessible. If we don't update the children cache 15 information can be stale and lead to incorrect navigation with VoiceOver. 16 17 * accessibility/AXObjectCache.cpp: 18 (WebCore::AXObjectCache::handleAttributeChange): 19 20 LayoutTests: 21 22 * accessibility/tabindex-removed-expected.txt: Added. 23 * accessibility/tabindex-removed.html: Added. 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249534 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2019-09-05 Chris Fleizach <cfleizach@apple.com> 29 30 AX: children cache are not re-computed if tab index is removed 31 https://bugs.webkit.org/show_bug.cgi?id=201502 32 33 Reviewed by Zalan Bujtas. 34 35 * accessibility/tabindex-removed-expected.txt: Added. 36 * accessibility/tabindex-removed.html: Added. 37 1 38 2019-09-05 Kocsen Chung <kocsen_chung@apple.com> 2 39 -
branches/safari-608-branch/Source/WebCore/ChangeLog
r249692 r249694 1 2019-09-09 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r249534. rdar://problem/55183098 4 5 AX: children cache are not re-computed if tab index is removed 6 https://bugs.webkit.org/show_bug.cgi?id=201502 7 8 Reviewed by Zalan Bujtas. 9 10 Source/WebCore: 11 12 Test: accessibility/tabindex-removed.html 13 14 If the tabindex changes, it can potentially affect whether an element is accessible. If we don't update the children cache 15 information can be stale and lead to incorrect navigation with VoiceOver. 16 17 * accessibility/AXObjectCache.cpp: 18 (WebCore::AXObjectCache::handleAttributeChange): 19 20 LayoutTests: 21 22 * accessibility/tabindex-removed-expected.txt: Added. 23 * accessibility/tabindex-removed.html: Added. 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249534 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2019-09-05 Chris Fleizach <cfleizach@apple.com> 29 30 AX: children cache are not re-computed if tab index is removed 31 https://bugs.webkit.org/show_bug.cgi?id=201502 32 33 Reviewed by Zalan Bujtas. 34 35 Test: accessibility/tabindex-removed.html 36 37 If the tabindex changes, it can potentially affect whether an element is accessible. If we don't update the children cache 38 information can be stale and lead to incorrect navigation with VoiceOver. 39 40 * accessibility/AXObjectCache.cpp: 41 (WebCore::AXObjectCache::handleAttributeChange): 42 1 43 2019-09-09 Kocsen Chung <kocsen_chung@apple.com> 2 44 -
branches/safari-608-branch/Source/WebCore/accessibility/AXObjectCache.cpp
r247367 r249694 1497 1497 else if (attrName == forAttr && is<HTMLLabelElement>(*element)) 1498 1498 labelChanged(element); 1499 else if (attrName == tabindexAttr) 1500 childrenChanged(element->parentNode(), element); 1499 1501 1500 1502 if (!attrName.localName().string().startsWith("aria-"))
Note:
See TracChangeset
for help on using the changeset viewer.