mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 12:13:37 +08:00
A11Y: Add aria-label to modal close button (#13288)
This commit is contained in:
parent
78029fd913
commit
2c6ceec9ea
|
@ -3,7 +3,7 @@
|
|||
<div class="modal-inner-container">
|
||||
<div class="modal-header {{headerClass}}">
|
||||
{{#if dismissable}}
|
||||
{{d-button icon="times" action=(route-action "closeModal" "initiatedByCloseButton") class="btn-flat modal-close close" title="modal.close"}}
|
||||
{{d-button icon="times" action=(route-action "closeModal" "initiatedByCloseButton") class="btn-flat modal-close close" title="modal.close" ariaLabel="modal.close"}}
|
||||
{{/if}}
|
||||
|
||||
{{#if title}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user