Skip to content

Commit

Permalink
Bump eslint-plugin-jsx-a11y to ^6.10.0 (#688)
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Dudak <michal@mui.com>
  • Loading branch information
renovate[bot] and michaldudak authored Oct 1, 2024
1 parent e39f5a6 commit 8e50242
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 24 deletions.
2 changes: 2 additions & 0 deletions docs/data/components/field/UnstyledFieldServerError.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export default function UnstyledFieldServerError() {
<FieldSubmit
type="submit"
aria-disabled={status === 'loading'}
// The aria-description attribute is not a standard ARIA attribute (it's defined in ARIA 1.3 Editor's Draft).
// eslint-disable-next-line jsx-a11y/aria-props
aria-description={
!state.validity.valid ? 'Field has errors' : undefined
}
Expand Down
2 changes: 2 additions & 0 deletions docs/data/components/field/UnstyledFieldServerError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export default function UnstyledFieldServerError() {
<FieldSubmit
type="submit"
aria-disabled={status === 'loading'}
// The aria-description attribute is not a standard ARIA attribute (it's defined in ARIA 1.3 Editor's Draft).
// eslint-disable-next-line jsx-a11y/aria-props
aria-description={
!state.validity.valid ? 'Field has errors' : undefined
}
Expand Down
1 change: 0 additions & 1 deletion docs/src/components/ApiReference.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export function ApiReference(props: ApiReferenceProps) {
<code>{prop.type.name}</code>
</td>
<td>{prop.defaultValue != null ? <code>{prop.defaultValue}</code> : null}</td>
{/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}
<td dangerouslySetInnerHTML={{ __html: prop.description }} />
</tr>
))}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-material-ui": "workspace:^",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-react": "^7.37.0",
Expand Down
92 changes: 70 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e50242

Please sign in to comment.