Skip to main content
Module

x/a11ynav/dist/a11y-nav.d.ts>default

Library for accessible navigations
Latest
class default
import { default } from "https://deno.land/x/a11ynav@v1.4.0/dist/a11y-nav.d.ts";

Constructors

new
default(element: HTMLElement, options?: A11YNavOptions)

Properties

private
closeMenu
private
controlFocusByKey
private
getControlFromEl
private
getControls
private
getFocusableFromEl
private
getFocusables
private
getMenuDepthFromEl

Get the menu depth of an element

private
getMenuFromEl
private
init
private
onBlur
private
onButtonClick
private
onButtonKeyDown
private
onFocusableKeyDown
private
openMenu
private
toggleMenu
controls: Control[]
focusables: HTMLElement[]
menus: Menu[]
nav: HTMLElement
options: Required<A11YNavOptions>