From 4983fa6df7b41790b3f0cd0e38284f11594d895f Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 22 Oct 2024 18:04:36 -0400 Subject: [PATCH] A11Y: add aria-labels to sidebar footer buttons (#29347) --- .../discourse/app/components/sidebar/footer.gjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/javascripts/discourse/app/components/sidebar/footer.gjs b/app/assets/javascripts/discourse/app/components/sidebar/footer.gjs index a920c6003a4..655bfdc2951 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/footer.gjs +++ b/app/assets/javascripts/discourse/app/components/sidebar/footer.gjs @@ -53,6 +53,7 @@ export default class SidebarFooter extends Component { @icon="plus" @action={{this.manageSections}} @title="sidebar.sections.custom.add" + @ariaLabel="sidebar.sections.custom.add" class="btn-flat sidebar-footer-actions-button add-section" /> {{/if}} @@ -61,6 +62,11 @@ export default class SidebarFooter extends Component { @@ -70,6 +76,7 @@ export default class SidebarFooter extends Component {