UX: add heading role to close composer dialog (#29590)

This commit is contained in:
chapoi 2024-11-06 03:39:37 +01:00 committed by GitHub
parent fa03499c7e
commit 8cb8ad763a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ export default class DiscardDraftModal extends Component {
@dismissable={{false}}
>
<:body>
<div class="instructions">
<div class="instructions" role="heading" aria-level="1">
{{i18n "post.cancel_composer.confirm"}}
</div>
</:body>