-
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.
- Loading branch information
Juraj Kapsiar
committed
Jul 11, 2018
1 parent
de498a7
commit 50d1756
Showing
6 changed files
with
221 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
"# acc-prototypes" | ||
|
||
These are quick and dirty prototypes used for accessibility evaluation. | ||
Please keep this in mind when looking at the code. |
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 |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<title>Buttons</title> | ||
<link rel="stylesheet" href="menu-bar.css"> | ||
</head> | ||
<body> | ||
<h2>Menu</h2> | ||
<h3>Menu Bar with button</h3> | ||
<ul role="menubar" aria-label="Settings" id="appmenu" class="appmenu-child"> | ||
<li> | ||
<div role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="File settings" tabindex="0"> | ||
File | ||
</div> | ||
<ul role="menu" aria-label="File"> | ||
<li role="presentation"> | ||
<div role="menuitem" aria-label="Create new file" tabindex="-1">New</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" aria-label="Open file" tabindex="-1">Open</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" aria-label="Print file" tabindex="-1">Print</div> | ||
</li> | ||
</ul> | ||
</li> | ||
<li> | ||
<div role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Edit actions" tabindex="-1"> | ||
Edit | ||
</div> | ||
<ul role="menu" aria-label="Edit"> | ||
<li role="presentation"> | ||
<div role="menuitem" aria-label="Undo action" tabindex="-1">Undo</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" aria-label="Redo action" tabindex="-1">Redo</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">Cut</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">Copy</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">Paste</div> | ||
</li> | ||
</ul> | ||
</li> | ||
<li> | ||
<div role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Format text" tabindex="-1"> | ||
Format | ||
</div> | ||
<ul role="menu" aria-label="Format"> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">Font</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">Text</div> | ||
</li> | ||
</ul> | ||
</li> | ||
<li> | ||
<div role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="View settings" tabindex="-1"> | ||
View | ||
</div> | ||
<ul role="menu" aria-label="View"> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">100%</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">Zoom In</div> | ||
</li> | ||
<li role="presentation"> | ||
<div role="menuitem" tabindex="-1">Zoom Out</div> | ||
</li> | ||
</ul> | ||
</li> | ||
<li> | ||
<div role="menuitem" aria-label="Help" tabindex="-1"> | ||
Help | ||
</div> | ||
</li> | ||
</ul> | ||
<script> | ||
window.useChild = true; | ||
</script> | ||
<script src="menu-bar.js"></script> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<title>Buttons</title> | ||
<link rel="stylesheet" href="menu-bar.css"> | ||
</head> | ||
<body> | ||
<h2>Menu</h2> | ||
<h3>Menu Bar with plain LI</h3> | ||
<ul role="menubar" aria-label="Settings" id="appmenu" class="appmenu-no-child"> | ||
<li | ||
role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="File settings" tabindex="0"> | ||
File | ||
|
||
<ul role="menu" aria-label="File" tabindex="-1"> | ||
<li | ||
role="menuitem" aria-label="Create new file" tabindex="-1">New | ||
</li> | ||
<li | ||
role="menuitem" aria-label="Open file" tabindex="-1">Open | ||
</li> | ||
<li | ||
role="menuitem" aria-label="Print file" tabindex="-1">Print | ||
</li> | ||
</ul> | ||
</li> | ||
<li | ||
role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Edit actions" tabindex="-1"> | ||
Edit | ||
|
||
<ul role="menu" aria-label="Edit" tabindex="-1"> | ||
<li | ||
role="menuitem" aria-label="Undo action" tabindex="-1">Undo | ||
</li> | ||
<li | ||
role="menuitem" aria-label="Redo action" tabindex="-1">Redo | ||
</li> | ||
<li | ||
role="menuitem" tabindex="-1">Cut | ||
</li> | ||
<li | ||
role="menuitem" tabindex="-1">Copy | ||
</li> | ||
<li | ||
role="menuitem" tabindex="-1">Paste | ||
</li> | ||
</ul> | ||
</li> | ||
<li | ||
role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="Format text" tabindex="-1"> | ||
Format | ||
|
||
<ul role="menu" aria-label="Format" tabindex="-1"> | ||
<li | ||
role="menuitem" tabindex="-1">Font | ||
</li> | ||
<li | ||
role="menuitem" tabindex="-1">Text | ||
</li> | ||
</ul> | ||
</li> | ||
<li | ||
role="menuitem" aria-haspopup="true" aria-expanded="false" aria-label="View settings" tabindex="-1"> | ||
View | ||
|
||
<ul role="menu" aria-label="View" tabindex="-1"> | ||
<li | ||
role="menuitem" tabindex="-1">100% | ||
</li> | ||
<li | ||
role="menuitem" tabindex="-1">Zoom In | ||
</li> | ||
<li | ||
role="menuitem" tabindex="-1">Zoom Out | ||
</li> | ||
</ul> | ||
</li> | ||
<li | ||
role="menuitem" aria-label="Help" tabindex="-1"> | ||
Help | ||
|
||
</li> | ||
</ul> | ||
<script src="menu-bar.js"></script> | ||
</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