In an effort to make the example code more concise and readable, several JavaScript and CSS utilites were used in the creation of the examples.

Much of the common accessibility logic in our MIND Pattern examples comes courtesy of MakeupJS - a suite of vanilla, headless UI JavaScript modules - tailored specifically for building accessible user interfaces in a frontend framework agnostic manner. For example, implementing a keyboard roving tab index or dialog window modality.

Common Behaviour

UI Components

CSS Classes

/* clip element visibility, making it accessible to screen reader only */
.clipped {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;

Last updated