forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Introduce SupportsARIAExpanded() for aria-expanded
Chrome/VoiceOver didn't narrates `aria-expanded` state in latest code. We fix from AriaRoleAttribute() to RoleValue() in SupportsARIAExpanded. Bug: 824465 Change-Id: Ib9ded5bbf84ad59f96cd2eb06cdd18eb537d8224 Reviewed-on: https://chromium-review.googlesource.com/989633 Commit-Queue: Nektarios Paisios <[email protected]> Reviewed-by: Nektarios Paisios <[email protected]> Reviewed-by: Aaron Leventhal <[email protected]> Cr-Commit-Position: refs/heads/master@{#548140}
- Loading branch information
Showing
9 changed files
with
44 additions
and
13 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
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
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/details-expected-blink.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
4 changes: 2 additions & 2 deletions
4
content/test/data/accessibility/html/details-expected-mac.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,9 +1,9 @@ | ||
AXWebArea AXRoleDescription='HTML content' | ||
++AXGroup AXRoleDescription='group' | ||
++++AXButton AXRoleDescription='disclosure triangle' AXTitle='details tag' | ||
++++AXButton AXRoleDescription='disclosure triangle' AXTitle='details tag' AXExpanded='0' | ||
++++++AXStaticText AXRoleDescription='text' AXValue='details tag' | ||
++AXGroup AXRoleDescription='group' | ||
++++AXButton AXRoleDescription='disclosure triangle' AXTitle='details tag open' | ||
++++AXButton AXRoleDescription='disclosure triangle' AXTitle='details tag open' AXExpanded='1' | ||
++++++AXStaticText AXRoleDescription='text' AXValue='details tag open' | ||
++++AXGroup AXRoleDescription='group' | ||
++++++AXStaticText AXRoleDescription='text' AXValue='The details tag with open specifies that the details should be visible (open) to the user.' |
4 changes: 2 additions & 2 deletions
4
content/test/data/accessibility/html/details-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,9 +1,9 @@ | ||
ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE | ||
++ROLE_SYSTEM_GROUPING | ||
++++ROLE_SYSTEM_PUSHBUTTON name='details tag' FOCUSABLE | ||
++++ROLE_SYSTEM_PUSHBUTTON name='details tag' COLLAPSED FOCUSABLE | ||
++++++ROLE_SYSTEM_STATICTEXT name='details tag' | ||
++ROLE_SYSTEM_GROUPING | ||
++++ROLE_SYSTEM_PUSHBUTTON name='details tag open' FOCUSABLE | ||
++++ROLE_SYSTEM_PUSHBUTTON name='details tag open' EXPANDED FOCUSABLE | ||
++++++ROLE_SYSTEM_STATICTEXT name='details tag open' | ||
++++IA2_ROLE_PARAGRAPH | ||
++++++ROLE_SYSTEM_STATICTEXT name='The details tag with open specifies that the details should be visible (open) to the user.' |
2 changes: 1 addition & 1 deletion
2
content/test/data/accessibility/html/summary-expected-blink.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 @@ | ||
rootWebArea | ||
++details | ||
++++disclosureTriangle name='details tag' | ||
++++disclosureTriangle collapsed name='details tag' | ||
++++++staticText name='details tag' | ||
++++++++inlineTextBox name='details tag' |
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,4 +1,4 @@ | ||
ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE | ||
++ROLE_SYSTEM_GROUPING | ||
++++ROLE_SYSTEM_PUSHBUTTON name='details tag' FOCUSABLE | ||
++++ROLE_SYSTEM_PUSHBUTTON name='details tag' COLLAPSED FOCUSABLE | ||
++++++ROLE_SYSTEM_STATICTEXT name='details tag' |
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