reactjs-popup icon indicating copy to clipboard operation
reactjs-popup copied to clipboard

fix: [a11y] set aria-modal true when modal

Open aversini opened this issue 2 years ago • 0 comments

Minor change to set “aria-modal” to “true” to the dialog container (the div that has the role of “dialog”), in the case of a modal. This is per WAI-ARIA practices for Dialog (Modal): https://www.w3.org/TR/wai-aria-practices-1.1/#dialog_roles_states_props

I didn’t add any stories to Storybook as it’s seems that adding a unit test for it might be enough… let me know :)

aversini avatar Oct 31 '21 03:10 aversini