Skip to content

Commit

Permalink
Create tests for APG design pattern example: Disclosure (Show/Hide) f…
Browse files Browse the repository at this point in the history
…or Navigation Menus (#347)

* Add Disclosure for Navigation Menus APG example with modified CSS/JS references

For more details of what is removed from and maintained in APG examples, see: 335dada

* Example: update page title

* Example: remove core JS/CSS references

* Example: remove 'Related Links' nav

* Example: update pattern href

* Example: remove links to similar examples

* Example: remove usage options and keyboard support checkbox

* Example: remove 'Accessibility Features', 'Keyboard Support', 'Role, Property, State, and Tabindex Attributes' and source code sections

* Example: remove footer nav

* Example: add a link before the first disclosure button for use in setup scripts

More details: 4357a2e

* Add references.csv

* Add Shift+B to keys.mjs

* Correct Shift+F in keys.mjs

* Add Shift+K and Shift+U to keys.mjs

* Add commands.csv

* Add tests.csv

* Add setup scripts

* Remove trailing blank lines from CSVs

* Generate test and review files automatically

* Example: remove blur handler which interferes with setup scripts

* Generate test and review files automatically

* Correct element selector for second disclosure button in setup scripts

* Generate test and review files automatically

* Correct document reference in setup script

* Generate test and review files automatically

* Apply display: none styling to the first dropdown menu for certin tests (e.g. where navigation back to the associated button is required without intermediate elements)

* Generate test and review files automatically

* Update setup scripts to focus the first link in a dropdown rather than the button for the next menu

* Generate test and review files automatically

* Add instructions about pressing certain commands twice

* Generate test and review files automatically

* Add additional link navigation commands when moving between disclosure button and dropdown

* Generate test and review files automatically

* Add VO+Command+J to VoiceOver tests when navigating forwards to the disclosure

* Add Shift+VO+Command+J to VoiceOver tests when navigating backwards to the disclosure

* Add Insert+Up to JAWS and NVDA tests when reading information about the disclosure

* Generate test and review files automatically

* Remove Insert+Up from JAWS and NVDA tests when reading information about the disclosure in interaction mode, as unlike in reading mode, only the accessible name of the control is reported

* Add Home, Up and Left arrow to JAWS and NVDA tests when navigating backwards to the disclosure in interaction mode

* Add Control+Option+Command+L and Shift+Control+Option+Command+L to keys.mjs file

* Add VO+Command+L and Shift+VO+Command+L to VoiceOver tests when navigating to links in the dropdown

* Generate test and review files automatically

* Copy files to address merge conflicts

* Regenerate test files

* Generate test and review files automatically

* after merging in new build artifact PR

* Generate test and review files automatically

* following re-merge of #451

* Generate test and review files automatically

* Updated 'Lasted Edited' -> 'Last Edited'

* Generate test and review files automatically

Co-authored-by: jscholes <jscholes@users.noreply.github.com>
Co-authored-by: Isabel Del Castillo <isa.delcastillo5@gmail.com>
Co-authored-by: IsaDC <IsaDC@users.noreply.github.com>
Co-authored-by: Howard Edwards <howarde.edwards@gmail.com>
Co-authored-by: howard-e <howard-e@users.noreply.github.com>
  • Loading branch information
6 people authored Jul 20, 2021
1 parent 693aceb commit 9eb5898
Show file tree
Hide file tree
Showing 124 changed files with 9,810 additions and 251 deletions.
23 changes: 15 additions & 8 deletions build/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 54 additions & 24 deletions build/review/checkbox-tri-state.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9eb5898

Please sign in to comment.