-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Reland "Do not expose aria-errormessage when aria-invalid is …
…false"" This reverts commit ebd839c. Reason for revert: Fails All/DumpAccessibilityTreeTest.AccessibilityAriaErrorMessage/linux test on linux-xenial-rel. Example failure: https://ci.chromium.org/ui/p/chromium/builders/ci/linux-xenial-rel/12274/overview Original change's description: > Reland "Do not expose aria-errormessage when aria-invalid is false" > > This is a reland of commit 5b6bfaa. > > It also adds the ability to have specific expectations files for > Trusty in the content browser tests. > > The reason the change was reverted is that Trusty runs a much older > version of ATK which does not support the ATK relation types used > for aria-errormessage. There are quite a few other things that are > not supported in the runtime version of ATK on Trusty. Thus having > Trusty-specific expectations will give us the ability to test more > things via content browser tests and using fewer workarounds. > > Original change's description: > > Do not expose aria-errormessage when aria-invalid is false > > > > ARIA 1.2 added the following requirement: > > > > User agents MUST NOT expose aria-errormessage for an object with an > > aria-invalid value of false. > > > > We were exposing it unconditionally. This commit fixes that. > > > > AX-Relnotes: Implement ARIA 1.2 requirement to not expose > > aria-errormessage when aria-invalid is false. > > > > Bug: 1233978 > > > > Cq-Include-Trybots: luci.chromium.try:linux-blink-web-tests-force-accessibility-rel > > Change-Id: I9cc8e654ea22919c105e331d88fd69d49990494c > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3062841 > > Reviewed-by: Nektarios Paisios <nektar@chromium.org> > > Commit-Queue: Joanmarie Diggs <jdiggs@igalia.com> > > Cr-Commit-Position: refs/heads/master@{#907136} > > Cq-Include-Trybots: luci.chromium.try:linux-blink-web-tests-force-accessibility-rel,linux-trusty-rel > Change-Id: I426b47a440cd28a687b272227bcb95239cb5f6e9 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3065525 > Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> > Reviewed-by: Jochen Eisinger <jochen@chromium.org> > Commit-Queue: Joanmarie Diggs <jdiggs@igalia.com> > Cr-Commit-Position: refs/heads/master@{#908653} Change-Id: I6de352cade74ac101fe9e094d88c9793777e2226 Cq-Include-Trybots: luci.chromium.try:linux-blink-web-tests-force-accessibility-rel,linux-trusty-rel No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3070782 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Alexey Baskakov <loyso@chromium.org> Owners-Override: Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#908703}
- Loading branch information
Alexey Baskakov
authored and
Chromium LUCI CQ
committed
Aug 5, 2021
1 parent
c2af794
commit 242c3fe
Showing
12 changed files
with
9 additions
and
74 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
11 changes: 0 additions & 11 deletions
11
content/test/data/accessibility/aria/aria-errormessage-expected-auralinux-trusty.txt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
content/test/data/accessibility/aria/aria-errormessage-expected-auralinux.txt
This file was deleted.
Oops, something went wrong.
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
10 changes: 2 additions & 8 deletions
10
content/test/data/accessibility/aria/aria-errormessage-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,11 +1,5 @@ | ||
ROLE_SYSTEM_DOCUMENT READONLY FOCUSABLE n_relations=0 | ||
++IA2_ROLE_SECTION n_relations=0 | ||
++++ROLE_SYSTEM_TEXT name='Invalid is true' FOCUSABLE IA2_STATE_INVALID_ENTRY n_relations=1 | ||
++++ROLE_SYSTEM_TEXT name='Invalid is false' FOCUSABLE n_relations=0 | ||
++++ROLE_SYSTEM_TEXT name='Invalid is not set' FOCUSABLE n_relations=0 | ||
++++ROLE_SYSTEM_TEXT FOCUSABLE IA2_STATE_INVALID_ENTRY n_relations=1 | ||
++IA2_ROLE_PARAGRAPH n_relations=1 | ||
++++ROLE_SYSTEM_STATICTEXT name='Error for invalid input' n_relations=0 | ||
++IA2_ROLE_PARAGRAPH n_relations=0 | ||
++++ROLE_SYSTEM_STATICTEXT name='Error for input which is not invalid' n_relations=0 | ||
++IA2_ROLE_PARAGRAPH n_relations=0 | ||
++++ROLE_SYSTEM_STATICTEXT name='Error for input with invalid not set' n_relations=0 | ||
++++ROLE_SYSTEM_STATICTEXT name='Error' n_relations=0 |
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,18 +1,13 @@ | ||
<!-- | ||
@AURALINUX-DENY:selectable-text* | ||
@BLINK-ALLOW:error* | ||
@WIN-ALLOW:n_relations* | ||
--> | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<div> | ||
<input aria-label="Invalid is true" aria-invalid="true" aria-errormessage="error1"> | ||
<input aria-label="Invalid is false" aria-invalid="false" aria-errormessage="error2"> | ||
<input aria-label="Invalid is not set" aria-errormessage="error3"> | ||
<input aria-invalid="true" aria-errormessage="error"> | ||
</div> | ||
<p id="error1">Error for invalid input</p> | ||
<p id="error2">Error for input which is not invalid</p> | ||
<p id="error3">Error for input with invalid not set</p> | ||
<p id="error">Error</p> | ||
</body> | ||
</html> |
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
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
...rty/blink/web_tests/http/tests/inspector-protocol/accessibility/accessibility-aria-1.1.js
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