mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06: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-inner-container">
|
||||||
<div class="modal-header {{headerClass}}">
|
<div class="modal-header {{headerClass}}">
|
||||||
{{#if dismissable}}
|
{{#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}}
|
||||||
|
|
||||||
{{#if title}}
|
{{#if title}}
|
||||||
|
Loading…
Reference in New Issue
Block a user