Material-components-web: Icon Toggle Documentation

Created on 22 Mar 2018  路  2Comments  路  Source: material-components/material-components-web

Icon Toggle assumptions should be documented:

Aria Features effecting behaviour

  • aria-pressed
  • aria-disabled

Aria Features effected by JS and should get defaults

  • aria-label
help wanted

All 2 comments

Thanks for filing this issue. We've labeled this as help-wanted since it's pretty straightforward to add this to the docs. Feel free to submit a PR if you'd like.

Icon Toggle is deprecated. Should be done now in Icon Button(?)

Two useful links for information about aria attributes in general:

Aria
Handling state with aria-pressed attribute

Was this page helpful?
0 / 5 - 0 ratings

Related issues

devshekhawat picture devshekhawat  路  3Comments

kimurakenshi picture kimurakenshi  路  3Comments

cintaccs picture cintaccs  路  3Comments

patrickrodee picture patrickrodee  路  3Comments

broros picture broros  路  3Comments