New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aria-errormessage: This attribute is an invalid ARIA attribute jsx-a11y/aria-props #424
Comments
I’m sorry, what do I have to do with this issue? You don’t generally need to ping the owner of the repo in your issue, trust me, they will get the notification. If you want any response at all, I would suggest providing more actionable details. Were I the maintainer, in its present state, I would close this issue immediately. |
@yaosha can you provide the code that’s erroring, and the error message? |
sorry, this is my code. render() {
return (
<input type="text"
value={value}
role={'spinbutton'}
aria-valuenow={value}
aria-valuemin={min}
aria-valuemax={max}
aria-label={label}
aria-required={required}
aria-disabled={disabled}
aria-errormessage={tipId}
aria-invalid={hasError}/>
);
} package.json "dependencies": {
"echarts": "^3.6.1",
"lodash": "^4.17.4",
"prop-types": "^15.0.0",
"react": "^15.6.2",
"react-a11y": "^1.0.0",
"react-dom": "^15.6.2",
"react-intl": "^2.3.0"
},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-eslint": "^7.2.2",
"babel-loader": "^7.1.2",
"babel-plugin-istanbul": "^3.0.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-runtime": "^6.26.0",
"eslint": "^3.13.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^6.9.0"
} .eslintrc {
"parser": "babel-eslint",
"rules": {
},
"plugins": [
"jsx-a11y"
],
"extends": [
"plugin:jsx-a11y/recommended"
]
} and the lint result
|
The
And yet it is failing on master: #426 This warrants some investigation. |
Fixed in #425 |
Is it wrong that I use it incorrectly?
The text was updated successfully, but these errors were encountered: