Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: content/test/data/accessibility/aria-pressed.html

Issue 184103036: Follow ARIA spec guidelines for role=button with aria-pressed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix togglebutton test and expectation on mac Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 @WIN-DENY:name* 3 @WIN-DENY:name*
4 @WIN-ALLOW:PRESSED 4 @WIN-ALLOW:PRESSED
5 @WIN-ALLOW:MIXED 5 @WIN-ALLOW:MIXED
6 @WIN-ALLOW:checkable:true 6 @WIN-ALLOW:checkable:true
7 @MAC-ALLOW:AXSubrole=*
8 @MAC-ALLOW:AXRoleDescription=*
7 --> 9 -->
8 <html> 10 <html>
9 <body> 11 <body>
10 <div tabindex=0 role="button">Regular button</div> 12 <div tabindex=0 role="button">Regular button</div>
11 <div tabindex=0 role="button" aria-pressed="false">Toggle button unpressed</div> 13 <div tabindex=0 role="button" aria-pressed="false">Toggle button unpressed</div>
12 <div tabindex=0 role="button" aria-pressed="true">Toggle button pressed</div> 14 <div tabindex=0 role="button" aria-pressed="true">Toggle button pressed</div>
13 <div tabindex=0 role="button" aria-pressed="mixed">Toggle button mixed</div> 15 <div tabindex=0 role="button" aria-pressed="mixed">Toggle button mixed</div>
14 </body> 16 </body>
15 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698