Skip to content

Commit a9f8982

Browse files
authored
Merge pull request #54 from lukewarlow/aria-expanded
Add note about aria
2 parents f8b2ce5 + c3252f8 commit a9f8982

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ With the module imported, you can add `commandfor` and `command` attributes to y
2828
<button commandfor="my-dialog" command="show-modal">Open Dialog!</button>
2929
<dialog id="my-dialog">I'm a dialog!</dialog>
3030
```
31+
32+
## Limitations
33+
34+
This polyfill does not handle the aria (e.g. `aria-expanded`) of the command button the way browsers do.
35+
You are *strongly* encouraged to handle this state yourself, to ensure your site is accessible.

0 commit comments

Comments
 (0)