Module Tw_html.AriaSource

Aria module

Accessibility attributes following ARIA standards.

Sourceval label : string -> attr

label "description" creates an aria-label attribute.

Sourceval labelledby : string -> attr

labelledby "id" creates an aria-labelledby attribute.

Sourceval describedby : string -> attr

describedby "id" creates an aria-describedby attribute.

Sourceval hidden : attr

hidden is the aria-hidden="true" attribute.

Sourceval expanded : bool -> attr

expanded true creates an aria-expanded attribute.

Sourceval current : string -> attr

current "page" creates an aria-current attribute.

Sourceval role : string -> attr

role "navigation" creates a role attribute.