Users are navigated via interface with a number of interactive elements such buttons, switches, links, tabs, bars, menus, fields and the like.
Navigation could be generally defined as the set of actions and techniques guiding users throughout the app or website, enabling them to fulfill their goals and successfully interact with the product. The aspect of efficient navigation has a great impact on setting positive user experience: users start using apps or websites with particular aims and expectations, and that’s designers’ task to set the best and easiest route to solving users’ problems.
Dropdown in Mark One Style Guide
id="dropdown" for select menus is contained in a div to avoid conflict with the form id.
Example of code for accessible select menu with visible label:
<div id="dropdown">
<!-- / Provide labels to identify all form controls -->
<label for="semesters">Select semester</label>
<select name="semesters" id="semesters">
<option value="all">All</option>
<option value="fall">Fall</option>
<option value="spring">Spring</option>
</select>
</div>
Example of code for accessible select menu with hidden label:
<div id="dropdownNolabel">
<!-- / Provide labels to identify all form controls -->
<label for="semesters">Choose the semester</label>
<select name="semesters" id="semesters">
<option value="all">All</option>
<option value="fall">Fall</option>
<option value="spring">Spring</option>
</select>
</div>
optgroup can improve the accessibility of a select menu with groups of options:
Note that optgroup is not fully supported by some user agents and screen readers,
so it should not be relied on to present vital category information.
In cases where optgroup is not supported, it is simply ignored.
Do not confuse the label attribute of the optgroup element with the label element.
They are very different things.
Source: WebAIM
<label for="favcity2">Choose your favorite city</label>
<select id="favcity2" name="favcity2">
<optgroup label="Asia">
<option value="3">Delhi</option>
<option value="4">Hong Kong</option>
<option value="8">Mumbai</option>
<option value="11">Tokyo</option>
</optgroup>
<optgroup label="Europe">
<option value="1">Amsterdam</option>
<option value="5">London</option>
<option value="7">Moscow</option>
</optgroup>
<optgroup label="North America">
<option value="6">Los Angeles</option>
<option value="9">New York</option>
</optgroup>
<optgroup label="South America">
<option value="2">Buenos Aires</option>
<option value="10">Sao Paulo</option>
</optgroup>
</select>
Accessible labels
In general, placing labels above the form fields helps reduce horizontal scrolling for people with low vision and mobile device users. However, the usefulness of this approach depends on other design aspects, such as the proximity of other nearby form fields and content, and needs to be assessed individually. The aim should be to maintain a close and distinct visual relationship between the label and the form control.
Source: W3C
id="icon*" includes several predefined color styles, each serving its own semantic purpose.
The color reference, on both idle and hover states, relates to the Mark One color palette.
id="icon*" can be used for both buttons and links.
Examples of code for accessible active icons:
<button title="Edit faculty information"
aria-label="Edit faculty information" <!-- / Clear purpose of the button -->
id="iconPrimary">
<i class="fas fa-edit"></i>
</button>
<a title="Open settings panel"
aria-label="Open settings panel" <!-- / Clear purpose of the link -->
id="iconSecondary">
Settings <i class="far fa-arrow-alt-circle-right"></i>
</a>
<a title="Faculty notes"
aria-label="Faculty notes"
id="iconInfo">
Settings <i class="fas fas fa-sticky-note"></i>
</a>
<button title="Delete faculty"
aria-label="Delete faculty"
id="iconDanger">
<i class="fas fa-trash-alt"></i>
</button>
Accesible links
Provide a clear visual indication of focus
Use CSS to provide a clear visual indication of when links, buttons, and other active control receives focus, such as through a border line or change in text color or background color, or preferably a combination of those effects. The default browser focus effect is often not visually obvious enough, and sometimes those focus indications can be inadvertently suppressed when reset CSS files are used. For custom controls that aren’t natively focusable, such as divs or spans, use CSS to apply a visual focus effect because browsers will not provide any native indication.
Source: Digital Accessibility
Layout
For many designers, the fun and engaging parts of the site will come from reusable content elements – like photo galleries, videos, quotes, events, or news lists. But there will also be plenty of pages that need to convey a lot of information. Content layouts provide containers for all of these elements.
Source: SCU
Header
Header in Mark One Style Guide
A website header is the area is one of the most valuable areas of your website. It runs across the top of the page and appears on every page of your website, except on sales or landing pages templates that have it removed.
The purpose of your website header is to promote your brand and make your site instantly recognizable to those who are already familiar with you. For many businesses, the header is the perfect place to efficiently and effectively convey exactly what your site is about and what your business does.
Source: Bourn Creative
Section header provide styles for the image, heading and div elements.
Application Title
Examples of code for accessible header:
<header id="header">
<a width="175px" href="#" height="50px" title="SEAS logo">
The Link Description
</a>
<h1>Application Title</h1>
<div>three</div>
<div>menu</div>
<div>items</div>
</head
Examples of code for skip link
Provide a mechanism to bypass blocks of material that are repeated on multiple Web pages by skipping directly to the main content of the Web page. The first interactive item in the Web page is a link to the beginning of the main content. Activating the link sets focus beyond the other content to the main content. This technique is most useful when a Web page has one main content area, rather than a set of content areas that are equally important, and when there are not multiple navigation sections on the page.
Source: W3C
<a id="skip-nav" style="display: none;" href="#main-content">
Skip Navigation or Skip to Content
</a>
<header id="header">
<a width="175px" href="#" height="50px" title="SEAS logo">
The Link Description
</a>
<h1>Application Title</h1>
<div>three</div>
<div>menu</div>
<div>items</div>
</head