Components

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.

Source: UX Planet

Button

Button in Mark One Style Guide

id="button*" includes several predefined button styles, each serving its own semantic purpose.

The color reference in the button labels, on both idle and hover states, relates to the Mark One color palette.

Examples of code for buttons:

<button id="buttonPrimary">
    Primary
</button>

<button id="buttonSecondary">
    SEcondary
</button>

<button id="buttonInfo">
    Info
</button>

<button id="buttonDanger">
    Danger
</button>

Examples of accessible buttons:

<!-- / Provide button labels that describe the purpose of a button,
    since assistive technology is abitually used to
    list just the buttons, outside their context -->

<!-- / Acessible button label -->
<button id="buttonPrimary">Submit new faculty</button>

<!-- / Inacessible button label -->
<button id="buttonPrimary">OK</button>
<!-- / Ensure that all interactive elements are keyboard accessible.
    Use tabindex for the correct tab sequence,
    since usuallly the "Save" button is on the right
    and the "Cancel" button is on the left -->

<button id="buttonSecondary" tabindex="2"> 
    Cancel
</button>

<button id="buttonPrimary" tabindex="1"> 
    Save
</button>
<!-- / Allow to select the primary button (or function)
    also by using the Enter key -->
<button id="buttonPrimary" onkeypress="return keyHandler(e);"> 
    Submit new faculty
</button>

Icon

Icon in Mark One Style Guide

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.

Primary
Secondary
Info
Danger

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 Content Layouts