This demo tests various ways of assigning an ARIA label to an Elix
element. In each case, the assigned label should be delegated to an
<input>
in the element's shadow.
Using aria-label
:
Using aria-labelledby:
Using a <label>
with a for
attribute:
Using a wrapping <label>
: