{"id":372,"date":"2018-12-10T17:30:40","date_gmt":"2018-12-10T17:30:40","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/wafd\/?post_type=chapter&#038;p=372"},"modified":"2022-12-16T17:16:38","modified_gmt":"2022-12-16T17:16:38","slug":"activity-12-accessible-menu-bar","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/chapter\/activity-12-accessible-menu-bar\/","title":{"raw":"Activity 12: Accessible Menu Bar","rendered":"Activity 12: Accessible Menu Bar"},"content":{"raw":"<h2>Accessible Menu Bar<\/h2>\r\n<img src=\"http:\/\/pressbooks.library.ryerson.ca\/wafd\/wp-content\/uploads\/sites\/57\/2018\/12\/activity_sm.png\" alt=\"\" class=\"alignright size-full wp-image-152\" width=\"150\" height=\"158\" \/>Based on the <a href=\"https:\/\/pressbooks.library.torontomu.ca\/wafd\/chapter\/6-2-menu-bars\/\">Menu bar details<\/a> on the previous page, apply what you have learned to the associated activity files to make the menu there accessible.\r\n\r\nFiles for this activity include:\r\n<ul>\r\n \t<li>\/<a href=\"https:\/\/github.com\/learnaria\/learnaria.github.io\/blob\/master\/menu.html\">menu.html<\/a><\/li>\r\n \t<li>\/<a href=\"https:\/\/github.com\/learnaria\/learnaria.github.io\/blob\/master\/assets\/ik_menu.js\">assets\/ik_menu.js<\/a><\/li>\r\n<\/ul>\r\nUse 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 menu bar by applying the highlighted code to the \/<a href=\"https:\/\/github.com\/learnaria\/learnaria.github.io\/blob\/master\/assets\/ik_menu.js\">assets\/ik_menu.js<\/a> file.\r\n\r\n<strong>Note:<\/strong> While we suggest using the highlighted code we\u2019ve provided, you are free to come up with your own solutions provided they produce the expected results listed in the marking rubric below.\r\n\r\nTest your updated menu bar with ChromeVox to ensure each element described in the marking rubric below is functioning as suggested.\r\n<h2>Requirements<\/h2>\r\nWhen you have applied your changes and tested to be sure your menu bar functions as described, submit the URL to your menu.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 <a href=\"https:\/\/raw.githack.com\">GitHack<\/a> URL.\r\n<h2>Grading Rubric<\/h2>\r\n<div>\r\n<table class=\"addborder\" style=\"height: 203px;\" title=\"\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\r\n<thead>\r\n<tr style=\"height: 14px;\">\r\n<th style=\"width: 694.062px; height: 14px;\">Criteria<\/th>\r\n<th style=\"width: 79.0625px; height: 14px;\">Points<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 44px;\">\r\n<td style=\"width: 694.062px; height: 44px;\">Instructions Provided:\r\nInstructions are announced on how to use the menu bar with a keyboard, when the menu bar first receives focus.<\/td>\r\n<td style=\"width: 79.0625px; height: 44px;\">1.0 pts<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px;\">\r\n<td style=\"width: 694.062px; height: 29px;\">Menu Bar Semantics:\r\nList item semantics are replaced with menu semantics.<\/td>\r\n<td style=\"width: 79.0625px; height: 29px;\">2.0 pts<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px;\">\r\n<td style=\"width: 694.062px; height: 29px;\">Submenus Announced:\r\nWhen a menu item with a submenu receives focus, the presence of a submenu is announced.<\/td>\r\n<td style=\"width: 79.0625px; height: 29px;\">2.0 pts<\/td>\r\n<\/tr>\r\n<tr style=\"height: 29px;\">\r\n<td style=\"width: 694.062px; height: 29px;\">Focus Control:\r\nOnly elements of the menu bar that are in view are able to receive focus.<\/td>\r\n<td style=\"width: 79.0625px; height: 29px;\">2.0 pts<\/td>\r\n<\/tr>\r\n<tr style=\"height: 44px;\">\r\n<td style=\"width: 694.062px; height: 44px;\">Keyboard Operable:\r\nAs described in Adding Keyboard Operability for a menu bar, the menu bar functions using a keyboard (and mouse).<\/td>\r\n<td style=\"width: 79.0625px; height: 44px;\">3.0 pts<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px;\">\r\n<td style=\"width: 694.062px; height: 14px;\">Total Points:<\/td>\r\n<td style=\"width: 79.0625px; height: 14px;\">10.0<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>","rendered":"<h2>Accessible Menu Bar<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/pressbooks.library.ryerson.ca\/wafd\/wp-content\/uploads\/sites\/57\/2018\/12\/activity_sm.png\" alt=\"\" class=\"alignright size-full wp-image-152\" width=\"150\" height=\"158\" srcset=\"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-content\/uploads\/sites\/57\/2018\/12\/activity_sm.png 150w, https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-content\/uploads\/sites\/57\/2018\/12\/activity_sm-65x68.png 65w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/>Based on the <a href=\"https:\/\/pressbooks.library.torontomu.ca\/wafd\/chapter\/6-2-menu-bars\/\">Menu bar details<\/a> on the previous page, apply what you have learned to the associated activity files to make the menu there accessible.<\/p>\n<p>Files for this activity include:<\/p>\n<ul>\n<li>\/<a href=\"https:\/\/github.com\/learnaria\/learnaria.github.io\/blob\/master\/menu.html\">menu.html<\/a><\/li>\n<li>\/<a href=\"https:\/\/github.com\/learnaria\/learnaria.github.io\/blob\/master\/assets\/ik_menu.js\">assets\/ik_menu.js<\/a><\/li>\n<\/ul>\n<p>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 menu bar by applying the highlighted code to the \/<a href=\"https:\/\/github.com\/learnaria\/learnaria.github.io\/blob\/master\/assets\/ik_menu.js\">assets\/ik_menu.js<\/a> file.<\/p>\n<p><strong>Note:<\/strong> While we suggest using the highlighted code we\u2019ve provided, you are free to come up with your own solutions provided they produce the expected results listed in the marking rubric below.<\/p>\n<p>Test your updated menu bar with ChromeVox to ensure each element described in the marking rubric below is functioning as suggested.<\/p>\n<h2>Requirements<\/h2>\n<p>When you have applied your changes and tested to be sure your menu bar functions as described, submit the URL to your menu.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 <a href=\"https:\/\/raw.githack.com\">GitHack<\/a> URL.<\/p>\n<h2>Grading Rubric<\/h2>\n<div>\n<table class=\"addborder\" style=\"height: 203px; border-spacing: 0px;\" title=\"\" cellpadding=\"0\">\n<thead>\n<tr style=\"height: 14px;\">\n<th style=\"width: 694.062px; height: 14px;\">Criteria<\/th>\n<th style=\"width: 79.0625px; height: 14px;\">Points<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 44px;\">\n<td style=\"width: 694.062px; height: 44px;\">Instructions Provided:<br \/>\nInstructions are announced on how to use the menu bar with a keyboard, when the menu bar first receives focus.<\/td>\n<td style=\"width: 79.0625px; height: 44px;\">1.0 pts<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"width: 694.062px; height: 29px;\">Menu Bar Semantics:<br \/>\nList item semantics are replaced with menu semantics.<\/td>\n<td style=\"width: 79.0625px; height: 29px;\">2.0 pts<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"width: 694.062px; height: 29px;\">Submenus Announced:<br \/>\nWhen a menu item with a submenu receives focus, the presence of a submenu is announced.<\/td>\n<td style=\"width: 79.0625px; height: 29px;\">2.0 pts<\/td>\n<\/tr>\n<tr style=\"height: 29px;\">\n<td style=\"width: 694.062px; height: 29px;\">Focus Control:<br \/>\nOnly elements of the menu bar that are in view are able to receive focus.<\/td>\n<td style=\"width: 79.0625px; height: 29px;\">2.0 pts<\/td>\n<\/tr>\n<tr style=\"height: 44px;\">\n<td style=\"width: 694.062px; height: 44px;\">Keyboard Operable:<br \/>\nAs described in Adding Keyboard Operability for a menu bar, the menu bar functions using a keyboard (and mouse).<\/td>\n<td style=\"width: 79.0625px; height: 44px;\">3.0 pts<\/td>\n<\/tr>\n<tr style=\"height: 14px;\">\n<td style=\"width: 694.062px; height: 14px;\">Total Points:<\/td>\n<td style=\"width: 79.0625px; height: 14px;\">10.0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"author":100,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-372","chapter","type-chapter","status-publish","hentry"],"part":37,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/pressbooks\/v2\/chapters\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/wp\/v2\/users\/100"}],"version-history":[{"count":17,"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/pressbooks\/v2\/chapters\/372\/revisions"}],"predecessor-version":[{"id":2026,"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/pressbooks\/v2\/chapters\/372\/revisions\/2026"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/pressbooks\/v2\/parts\/37"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/pressbooks\/v2\/chapters\/372\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/pressbooks\/v2\/chapter-type?post=372"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/wp\/v2\/contributor?post=372"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/wafd\/wp-json\/wp\/v2\/license?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}