A11yance / aria-query

Programmatic access to the ARIA specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aria-valuenow on role separator causes warning

hzhu opened this issue · comments

I noticed that a role="separator" element with the attribute aria-valuenow shows a warning:

Screen Shot 2021-09-18 at 6 47 13 PM

However, according to ARIA 1.2, the aria-valuenow is a supported attribute on an element with role="separator". See:

  1. https://www.w3.org/TR/wai-aria-1.1/#separator
  2. https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow

Should aria-valuenow be added to the separator's prop list?

A fix is committed. I'm working on a release but it will take some time to weave it into the eslint-plugin-jsx-a11y project.

I see the fix in cd57f86. Thanks!