aboutsummaryrefslogtreecommitdiffstats
path: root/ui/disable-selection.js
diff options
context:
space:
mode:
authorRalf Koller <1665422+rpkoller@users.noreply.github.com>2024-06-14 13:04:00 +0200
committerGitHub <noreply@github.com>2024-06-14 13:04:00 +0200
commit376f142b9de42241a20efa9c89644ff5425da174 (patch)
tree129292775f86739ece147a04442c13039428d4c0 /ui/disable-selection.js
parent1f251ca399ec01c75d24293e49ac767938a547e2 (diff)
downloadjquery-ui-376f142b9de42241a20efa9c89644ff5425da174.tar.gz
jquery-ui-376f142b9de42241a20efa9c89644ff5425da174.zip
Dialog: Add aria-modal support
Reflect the `modal` dialog option into the `aria-modal` attribute - when `modal` is `true`, set `aria-modal` to `"true"`. This helps some accessibility tools like VoiceOver with their rotor functionality as it reduces the number of elements presented. Fixes gh-2246 Closes gh-2257 Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
Diffstat (limited to 'ui/disable-selection.js')
0 files changed, 0 insertions, 0 deletions