Skip to content

Commit

Permalink
A11y scorecard fixes (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
rezrah authored Nov 17, 2023
1 parent c3d7bdb commit a3b02ad
Show file tree
Hide file tree
Showing 13 changed files with 1,203 additions and 70 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-actors-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Added onKeyDown event handler to ActionMenu to replicate onClick using Enter key
6 changes: 0 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ module.exports = {
'react/prop-types': 0,
'react/display-name': 0,
'react-hooks/exhaustive-deps': 'error',
'jsx-a11y/label-has-for': [
2,
{
components: [],
},
],
camelcase: [
'error',
{
Expand Down
1 change: 0 additions & 1 deletion apps/docs/src/components/custom-video-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const CustomVideoPlayer = (props: React.HTMLProps<HTMLVideoElement>) => {
}}
>
{/* component users would be able to pass their own <track> children */}
{/* eslint-disable-next-line jsx-a11y/media-has-caption */}
<video {...props} ref={videoElement} />
{!props.controls && (
<PRCBox
Expand Down
Loading

0 comments on commit a3b02ad

Please sign in to comment.