From 9dec05852dbdc4425c3d83feb74cfddf0e43e503 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Fri, 3 Jul 2020 10:16:22 +0200 Subject: [PATCH] Add id, aria-label & aria-labelledby to all listboxes --- addon/components/power-select.hbs | 16 ++++++++++++++-- addon/components/power-select/search-message.hbs | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/addon/components/power-select.hbs b/addon/components/power-select.hbs index 438f93302..e42d0188d 100644 --- a/addon/components/power-select.hbs +++ b/addon/components/power-select.hbs @@ -90,11 +90,23 @@ {{/let}} {{#if this.mustShowSearchMessage}} {{#let (component (or @searchMessageComponent "power-select/search-message")) as |SearchMessage|}} - + {{/let}} {{else if this.mustShowNoMessages}} {{#if this.noMatchesMessage}} -
    +
    • {{this.noMatchesMessage}}
    • diff --git a/addon/components/power-select/search-message.hbs b/addon/components/power-select/search-message.hbs index ff83e3a72..ac90ffd37 100644 --- a/addon/components/power-select/search-message.hbs +++ b/addon/components/power-select/search-message.hbs @@ -1,4 +1,4 @@ -
        +
        • {{@searchMessage}}