Aria

object Aria

Predefined constants for all ARIA attributes

Use them for definition of an ARIA attribute within a Tag:

input {
attr(Aria.invalid, "true".whenever(someBooleanFlow)) // should only appear on `true`
attr(Aria.labelledby, "id-of-some-label")
attr(Aria.checked, someBooleanFlow.asString()) // should hold String values "true" or "false"
}

Types

Link copied to clipboard
object HasPopup
Link copied to clipboard
object Role

All aria roles

Properties

Link copied to clipboard
Link copied to clipboard
const val atomic: String
Link copied to clipboard
const val autocomplete: String
Link copied to clipboard
const val busy: String
Link copied to clipboard
const val checked: String
Link copied to clipboard
const val colcount: String
Link copied to clipboard
const val colindex: String
Link copied to clipboard
const val colspan: String
Link copied to clipboard
const val controls: String
Link copied to clipboard
const val current: String
Link copied to clipboard
const val describedby: String
Link copied to clipboard
const val description: String
Link copied to clipboard
const val details: String
Link copied to clipboard
const val disabled: String
Link copied to clipboard
const val dragged: String
Link copied to clipboard
const val dropeffect: String
Link copied to clipboard
const val errormessage: String
Link copied to clipboard
const val expanded: String
Link copied to clipboard
const val flowto: String
Link copied to clipboard
const val grabbed: String
Link copied to clipboard
const val haspopup: String
Link copied to clipboard
const val hidden: String
Link copied to clipboard
const val invalid: String
Link copied to clipboard
const val keyshortcuts: String
Link copied to clipboard
const val label: String
Link copied to clipboard
const val labelledby: String
Link copied to clipboard
const val level: String
Link copied to clipboard
const val live: String
Link copied to clipboard
const val modal: String
Link copied to clipboard
const val multiline: String
Link copied to clipboard
Link copied to clipboard
const val orientation: String
Link copied to clipboard
const val owns: String
Link copied to clipboard
const val placeholder: String
Link copied to clipboard
const val posinset: String
Link copied to clipboard
const val pressed: String
Link copied to clipboard
const val readonly: String
Link copied to clipboard
const val relevant: String
Link copied to clipboard
const val required: String
Link copied to clipboard
Link copied to clipboard
const val rowcount: String
Link copied to clipboard
const val rowindex: String
Link copied to clipboard
const val rowspan: String
Link copied to clipboard
const val selected: String
Link copied to clipboard
const val setsize: String
Link copied to clipboard
const val sort: String
Link copied to clipboard
const val valuemax: String
Link copied to clipboard
const val valuemin: String
Link copied to clipboard
const val valuenow: String
Link copied to clipboard
const val valuetext: String