forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AT actions API: Always expose default action at index 0.
Nodes are expected to know if they have a default action assigned, and return that knowledge via HasDefaultActionVerb(). We found some cases that, nonetheless, report false incorrectly on Windows platforms. This causes serious regressions with JAWS, so we introduce a workaround to expose the default action unconditionally. Bug: 1370076 Change-Id: I108ea77b267258c4d7d4f2f285824577bc2f6470 AX-relnotes: Fix enter sometimes opening context menu in JAWS. Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3932984 Commit-Queue: Jacobo Aragunde Pérez <[email protected]> Reviewed-by: Nektarios Paisios <[email protected]> Commit-Queue: Nektarios Paisios <[email protected]> Cr-Commit-Position: refs/heads/main@{#1054857}
- Loading branch information
Showing
6 changed files
with
39 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
content/test/data/accessibility/html/a-onclick-expected-win.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE action_name='showContextMenu' | ||
ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE action_name='doDefault' | ||
++ROLE_SYSTEM_LINK name='link with no href but onclick' LINKED default_action='jump' action_name='jump' | ||
++++ROLE_SYSTEM_STATICTEXT name='link with no href but onclick' action_name='showContextMenu' | ||
++++ROLE_SYSTEM_STATICTEXT name='link with no href but onclick' action_name='doDefault' | ||
++ROLE_SYSTEM_LINK name='link with no href and click handler added via script' LINKED default_action='jump' action_name='jump' | ||
++++ROLE_SYSTEM_STATICTEXT name='link with no href and click handler added via script' action_name='showContextMenu' | ||
++++ROLE_SYSTEM_STATICTEXT name='link with no href and click handler added via script' action_name='doDefault' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters