E049 - Herst/bootlint-ng GitHub Wiki

Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!


E049

.modal-dialog must have a role="document" attribute.

For accessibility reasons, all elements with the .modal-dialog class must have a role attribute with a value of document.

Wrong:

<div class="modal-dialog">
  ...
</div>

Right:

<div class="modal-dialog" role="document">
  ...
</div>
⚠️ **GitHub.com Fallback** ⚠️