Chromium Code Reviews
DescriptionFix for voice-over accessibility issue with tab switcher.
When a cell is removed from the collection view with a custom action,
the accessibility does not drop the custom action. This crashed the
application as the -deleteButtonPressedForCell: method assumed that
it would only ever be called with cell in the collection.
Work-around this by posting a UIAccessibilityScreenChangedNotification
which force accessibility to re-inspect everything (thus dropping the
selection custom action) and by also resetting the delegate on the cell
(not really necessary but cleaner).
BUG=677374
Review-Url: https://codereview.chromium.org/2615883002
Cr-Commit-Position: refs/heads/master@{#441649}
Committed: https://chromium.googlesource.com/chromium/src/+/e90f8871ccbf3df4fcef6960dd60756c559abcbe
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||||||||||||||||||||