Skip to main content
Workforce LibreTexts

7.5: Activity 13- Accessible Tree Navigation

  • Page ID
    15632
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    activity_sm.png
    Based on the Tree Menu details on the previous page, apply what you have learned to the associated activity files to make the tree menu there accessible.

    Files for this activity include:

    Use the surroundings of the highlighted code on the previous page as a guide to find where the fixes should be applied. Repair the accessibility of the tree menu by applying the highlighted code to the /assets/ik_treemenu.js file.

    Note: While we suggest using the highlighted code we’ve provided, you are free to come up with your own solutions provided they produce the expected results listed in the marking rubric below.

    Test your updated tree menu with ChromeVox to ensure each element described in the marking rubric below is functioning as suggested.

    Requirements

    When you have applied your changes and tested to be sure your tree menu functions as described, submit the URL to your tree.html file on your GitHub Pages site, to the file on the web server you are using to host your copy of the activity files, or a GitHack URL.

    Grading Rubric

    Criteria Points
    Instructions Provided:
    When the tree menu receives focus, instructions are announced on how to use the menu with a keyboard.
    1.0 pts
    Tree Menu Semantics:
    When navigating through the tree menu with a keyboard, elements are announced with tree menu semantics.
    2.0 pts
    Tree Submenus:
    When a tree menu item with a submenu receive focus, the submenu state is announced as expanded when open or collapsed when closed.
    2.0 pts
    Focus Control:
    Only elements of the tree menu that are in view are able to receive focus.
    2.0 pts
    Keyboard Operable:
    Tree menu functions with a keyboard as described in Adding Keyboard Operability for tree menus.
    3.0 pts
    Total Points: 10.0

    This page titled 7.5: Activity 13- Accessible Tree Navigation is shared under a CC BY-SA license and was authored, remixed, and/or curated by Digital Education Strategies, The Chang School.

    • Was this article helpful?