-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Listbox Pattern and Examples: Breakout Examples to Separate Pages
For issue #123, made the following changes: * renamed: examples/listbox/listbox.html -> examples/listbox/listbox-rearrangeable.html * listbox-rearrangeable.html: - Change title, Remove example 3, add similar example link - add intro to keyboard and roles and props sections - update links to source files, update source rendering code. * renamed:examples/listbox/js/main.js -> examples/listbox/js/listbox-rearrangeable.js * listbox-rearrangeable.js: Remove example 3 code. * new file:examples/listbox/listbox-scrollable.html * new file:examples/listbox/js/listbox-scrollable.js * modified aria-practices.html: Update links to example pages and ad ID listbox_kbd_interaction.
- Loading branch information
Showing
5 changed files
with
304 additions
and
84 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
File renamed without changes.
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,9 @@ | ||
/** | ||
* ARIA Scrollable Listbox Example | ||
* @function onload | ||
* @desc Initialize the listbox example once the page has loaded | ||
*/ | ||
|
||
window.addEventListener('load', function () { | ||
var exListbox = new aria.Listbox(document.getElementById('ss_elem_list')); | ||
}); |
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
Oops, something went wrong.