Skip to content

Commit

Permalink
Add "video" and "audio" to focusable selectors list
Browse files Browse the repository at this point in the history
  • Loading branch information
whizkydee committed May 15, 2020
1 parent 636418e commit f77a10e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/focusableSelectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export default [
'button:not(:disabled):not([hidden])',
'embed:not([hidden])',
'iframe:not([hidden])',
'audio[controls]:not([hidden])',
'video[controls]:not([hidden])',
'input:not([type="hidden"]):not(:disabled):not([hidden])',
'object:not([hidden])',
'select:not(:disabled):not([hidden])',
Expand Down

0 comments on commit f77a10e

Please sign in to comment.