From 25bf5530ba3e3c3723f6a41c1e46a6936320d5df Mon Sep 17 00:00:00 2001 From: Brian Larson Date: Fri, 15 Apr 2022 17:35:32 -0500 Subject: [PATCH] aria assessibility fixes found using axe devtools --- js/bootstrap-select.js | 2 +- sass/variables.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index a713cef61..185916d18 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -1205,7 +1205,7 @@ (this.options.display === 'static' ? 'data-display="static"' : '') + Selector.DATA_TOGGLE + autofocus + - ' role="combobox" aria-owns="' + + ' aria-owns="' + this.selectId + '" aria-haspopup="listbox" aria-expanded="false">' + '
' + diff --git a/sass/variables.scss b/sass/variables.scss index 40fb62e59..1ab91b306 100644 --- a/sass/variables.scss +++ b/sass/variables.scss @@ -7,7 +7,7 @@ $width-default: 220px !default; // 3 960px-grid columns $zindex-select-dropdown: 1060 !default; // must be higher than a modal background (1050) //** Placeholder text color -$input-color-placeholder: #999 !default; +$input-color-placeholder: #666 !default; $input-alt-color-placeholder: rgba(255, 255, 255, 0.5) !default; $input-padding-y-sm: .25rem !default;