theme_boost/aria

Description:
  • Enhancements to Bootstrap components for accessibility.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Enhancements to Bootstrap components for accessibility.

Methods

(inner) autoFocus()

Description:
  • After page load, focus on any element with special autofocus attribute.

Source:

(inner) collapseFix()

Description:
  • Fix keyboard interaction with Bootstrap Collapse elements.

Source:
See:

(inner) comboboxFix()

Description:
  • A lot of Bootstrap's out of the box features don't work if dropdown items are not focusable.

Source:

(inner) dropdownFix()

Description:
  • Drop downs from bootstrap don't support keyboard accessibility by default.

Source:

(inner) rovingFocus(elements, e, vertical, updateTabIndex)

Description:
  • Changes the focus to the correct element based on the key that is pressed.

Source:
Parameters:
Name Type Description
elements NodeList

A NodeList of focusable elements to navigate between.

e KeyboardEvent

The keyboard event that triggers the roving focus.

vertical boolean

Whether the navigation is vertical.

updateTabIndex boolean

Whether to update the tabIndex of the elements.

(inner) tabElementFix()

Description:
  • Fix accessibility issues regarding tab elements focus and their tab order in Bootstrap navs.

Source:

(inner) toolbarFix()

Description:
  • Fix accessibility issues

Source: