Reported by bblldeveloper on 2014-09-26 21:14
Paragraph text within modal dialogs with the role attribute set to dialog (role="dialog") is not read and is ignored by NVDA screen readers. Instead, it only gives focus on interactive focusable elements, such as form fields, links and buttons and completely skips over any paragraph text.
- Adding a tabindex="0" to each paragraph and header tag, which is not ideal, seems to resolve the issue in IE11 and Chrome, but it does not solve the issue in Firefox Version 31.
- Removing role="dialog" did not solve the issue.
Here is a snippet of code for the markup used for the modal dialog:
<div class="dialog dialog-info" data-bindattr-219="219" data-bindattr-220="220" aria-labelledby="dialog-header" data-bindattr-221="221" role="dialog" style="position: fixed; top: 50%; margin-top: -193px;">
<div class="dialog-content">
<div class="dialog-content-inner" tabindex="0">
<header>
<h2 id="dialog-header" data-bindattr-222="222">Header Text</h2>
</header>
<a href="#" class="dialog-link-close" data-id="close-dialog-link" title="Close dialog">
<span id="ember2803" class="ember-view icon icon-close"></span>
</a>
<h3 class="ember-view" tabindex="0">Header Text</h3>
<p class="ember-view" tabindex="0">Paragraph Text</p>
<h3 class="ember-view" tabindex="0">Header Text</h3>
<p id="ember2832" class="ember-view" tabindex="0">Paragraph Text</p>
<h3 id="ember2833" class="ember-view" tabindex="0">Header Text</h3>
<p id="ember2834" class="ember-view" tabindex="0">Paragraph Text</p>
<div class="button-box">
<button type="submit" data-id="close-btn" data-bindattr-224="224" data-bindattr-225="225" data-ember-action="226">
<span>Close</span>
</button>
</div>
</div>
</div>
</div>
Reported by bblldeveloper on 2014-09-26 21:14
Paragraph text within modal dialogs with the role attribute set to dialog (role="dialog") is not read and is ignored by NVDA screen readers. Instead, it only gives focus on interactive focusable elements, such as form fields, links and buttons and completely skips over any paragraph text.
Here is a snippet of code for the markup used for the modal dialog: