]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add role="document" to modal itself
authorPatrick H. Lauke <redux@splintered.co.uk>
Thu, 11 Jun 2015 11:40:24 +0000 (12:40 +0100)
committerPatrick H. Lauke <redux@splintered.co.uk>
Thu, 11 Jun 2015 11:40:24 +0000 (12:40 +0100)
commite23868c9cf395eabc4a8c6f00a8b58df13aacac7
tree1d6dcc66e4d7678edffa543da39d443d0f36e1fc
parente11f7ffa797f8422f016576cb7c2f5bb6f66aa51
Add role="document" to modal itself

Initial fix to generalise use of modals. Generally, true role="dialog"
containers would require only forms/controls as content, with all other
text correctly and explicitly associated via
aria-labelledby/aria-describedby and similar...but as authors use modals
also as generic overlays, this extra role is required to get AT
(particularly NVDA) out of "forms" mode and reenable reading keys
docs/_includes/js/modal.html