Accessibility fix per cptvitamin

This commit is contained in:
Braden MacDonald
2014-12-31 12:46:02 -08:00
committed by E. Kolpakov
parent 42ee0571e7
commit 95c8125609

View File

@@ -4,6 +4,7 @@
id="<%= type %>-<%= intent %>"
aria-hidden="<% if(obj.shown) { %>false<% } else { %>true<% } %>"
aria-labelledby="<%= type %>-<%= intent %>-title"
tabindex="-1"
<% if (obj.message) { %>aria-describedby="<%= type %>-<%= intent %>-description" <% } %>
<% if (obj.actions) { %>role="dialog"<% } %>
>