package pure-html

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Pure_html.AriaSource

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/

  • since 3.0.0.
Sourceval activedescendant : _ string_attr
Sourceval atomic : attr
Sourceval autocomplete : [ `inline | `list | `both ] to_attr
Sourceval braillelabel : _ string_attr
Sourceval brailleroledescription : _ string_attr
Sourceval busy : attr
Sourceval checked : [ `false_ | `true_ | `mixed ] to_attr
Sourceval colcount : int to_attr
Sourceval colindextext : _ string_attr
Sourceval colspan : int to_attr
Sourceval controls : _ string_attr
Sourceval current : [ `page | `step | `location | `date | `time | `true_ ] to_attr
Sourceval describedby : _ string_attr
Sourceval description : _ string_attr
Sourceval details : _ string_attr
Sourceval disabled : attr
Sourceval errormessage : _ string_attr
Sourceval expanded : bool to_attr
Sourceval flowto : _ string_attr
Sourceval haspopup : [ `true_ | `menu | `listbox | `tree | `grid | `dialog ] to_attr
Sourceval hidden : bool to_attr
Sourceval invalid : [ `grammar | `spelling | `true_ ] to_attr
Sourceval keyshortcuts : _ string_attr
Sourceval label : _ string_attr
Sourceval labelledby : _ string_attr
Sourceval level : int to_attr
Sourceval live : [ `assertive | `off | `polite ] to_attr

⚠️ Screen readers want a live region to be defined statically from page load on a visible element, eg p [id "toast"; Aria.live `polite] []. The element must not be hidden initially, otherwise the screen reader will continue to ignore it even when its content is changed.

`off since 3.10.0

Sourceval modal : attr
Sourceval multiline : attr
Sourceval multiselectable : attr
Sourceval orientation : [ `horizontal | `vertical ] to_attr
Sourceval owns : _ string_attr
Sourceval placeholder : _ string_attr
Sourceval posinset : int to_attr
Sourceval pressed : [ `false_ | `mixed | `true_ ] to_attr
Sourceval readonly : attr
Sourceval relevant : [ `additions | `all | `removals | `text ] to_attr
Sourceval required : attr
Sourceval roledescription : _ string_attr
Sourceval rowcount : int to_attr
Sourceval rowindex : int to_attr
Sourceval rowindextext : _ string_attr
Sourceval rowspan : int to_attr
Sourceval selected : bool to_attr
Sourceval setsize : int to_attr
Sourceval sort : [ `ascending | `descending | `other ] to_attr
Sourceval valuemax : float to_attr
Sourceval valuemin : float to_attr
Sourceval valuenow : float to_attr
Sourceval valuetext : _ string_attr
OCaml

Innovation. Community. Security.