Eslint-plugin-jsx-a11y: aria-proptypes support for idlist

Created on 3 Jul 2018  路  4Comments  路  Source: jsx-eslint/eslint-plugin-jsx-a11y

I have noticed the following errors on Material-UI side trying to upgrade this dependency:
capture d ecran 2018-07-03 a 21 53 16

The following aria seem to not be supported as expected:

  • aria-labelledby
  • aria-controls
  • aria-describedby

arial-query returns the type idlist. Something that is not supported in the implementation: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/b800f40a2a69ad48015ae9226fbe879f946757ed/src/rules/aria-proptypes.js#L32

bug help wanted

Most helpful comment

Here's the change in aria-query that is causing the errors: https://github.com/A11yance/aria-query/commit/6978637765f455e5be36dbbed1e4ff9ca9957f8b

What I don't yet understand is why none of the tests in this repo caught this. I don't want to simply update aria-query without getting a test case to fail here first so we don't have something like this happen again in the future.

All 4 comments

This is affecting the airbnb config as well, fwiw.

I'll get this fixed tonight.

6.2.0 update is on the way :)

Here's the change in aria-query that is causing the errors: https://github.com/A11yance/aria-query/commit/6978637765f455e5be36dbbed1e4ff9ca9957f8b

What I don't yet understand is why none of the tests in this repo caught this. I don't want to simply update aria-query without getting a test case to fail here first so we don't have something like this happen again in the future.

Closed in #456.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lencioni picture lencioni  路  5Comments

zcs19871221 picture zcs19871221  路  5Comments

theAdhocracy picture theAdhocracy  路  5Comments

astorije picture astorije  路  3Comments

AlmeroSteyn picture AlmeroSteyn  路  5Comments