Skip to content

Commit 4d98463

Browse files
committed
Add ARIA attributes
1 parent dab2ca0 commit 4d98463

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

styles/all/template/webpush_popup.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{% if S_WEBPUSH_POPUP_PROMPT %}
2-
<div id="wpn_popup_prompt" class="wpn-popup-overlay" style="display:none;">
2+
<div id="wpn_popup_prompt" class="wpn-popup-overlay" style="display:none;" role="dialog" aria-modal="true" aria-labelledby="wpn_popup_title" aria-describedby="wpn_popup_message">
33
<div class="wpn-popup-container">
44
<div class="wpn-popup-content">
5-
<h3 class="wpn-popup-title">
5+
<h3 id="wpn_popup_title" class="wpn-popup-title">
66
<span>{{ lang('NOTIFY_WEBPUSH_POPUP_TITLE') }}</span>
7-
<span class="fa-stack fa-lg">
7+
<span class="fa-stack fa-lg" aria-hidden="true">
88
<i class="fa fa-circle fa-stack-2x"></i>
99
<i class="fa fa-bell fa-stack-1x fa-inverse"></i>
1010
</span>
1111
</h3>
12-
<p class="wpn-popup-message">{{ lang('NOTIFY_WEBPUSH_POPUP_MESSAGE') }}</p>
12+
<p id="wpn_popup_message" class="wpn-popup-message">{{ lang('NOTIFY_WEBPUSH_POPUP_MESSAGE') }}</p>
1313
<div class="wpn-popup-buttons">
1414
<button id="wpn_popup_allow" class="wpn-popup-btn wpn-popup-btn-allow">{{ lang('NOTIFY_WEBPUSH_POPUP_ALLOW') }}</button>
1515
<button id="wpn_popup_deny" class="wpn-popup-btn wpn-popup-btn-deny">{{ lang('NOTIFY_WEBPUSH_POPUP_DENY') }}</button>

0 commit comments

Comments
 (0)