howto-components icon indicating copy to clipboard operation
howto-components copied to clipboard

Elements should not rely on ARIA attributes for styling or behavior.

Open robdodson opened this issue 8 years ago • 0 comments

In earlier elements like <howto-radio-group>, I relied on aria-* for styling and behavior. Instead, ARIA should be an implementation detail.

So instead of styling aria-checked I would expose a checked attribute/property on the element, and style that. Setting checked would, as a side effect, also set aria-checked. We should use this pattern throughout.

  • [ ] Accordion
  • [x] Checkbox
  • [ ] Radio Group
  • [x] Tabs
  • [x] Tooltip
  • [ ] Tree

robdodson avatar Apr 27 '17 16:04 robdodson