Cedric Trevisan and I have been cooking up a simple custom element, web component (using polymer) that provides a flexible disclosure control with accessibility baked in.
It’s still in progress (Cedric will follow up with a detailed post on how he got it to work!) but here’s a sneak peak:
- disclosure-button – specification doc.
- disclosure-button – working demo 1 and working demo 2 Note: demos use older syntax than what is described in the specification doc.
- disclosure-button repo on github
Usability and accessibility opportunities in a web component world