@brightspace-ui/core 3.36.5 → 3.36.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -117,8 +117,7 @@ class FocusTrap extends FocusMixin(LitElement) {
|
|
117
117
|
// user is exiting trap via forward tabbing...
|
118
118
|
const firstFocusable = getNextFocusable(this.shadowRoot.querySelector('.d2l-focus-trap-start'));
|
119
119
|
if (firstFocusable) {
|
120
|
-
|
121
|
-
setTimeout(() => firstFocusable.focus(), 50);
|
120
|
+
firstFocusable.focus();
|
122
121
|
return;
|
123
122
|
}
|
124
123
|
}
|
@@ -141,8 +140,7 @@ class FocusTrap extends FocusMixin(LitElement) {
|
|
141
140
|
// user is exiting trap via back tabbing...
|
142
141
|
const lastFocusable = getPreviousFocusable(this.shadowRoot.querySelector('.d2l-focus-trap-end'));
|
143
142
|
if (lastFocusable) {
|
144
|
-
|
145
|
-
setTimeout(() => lastFocusable.focus(), 50);
|
143
|
+
lastFocusable.focus();
|
146
144
|
return;
|
147
145
|
}
|
148
146
|
}
|
@@ -82,7 +82,7 @@ When the input is cleared, the same event will be fired with an empty value.
|
|
82
82
|
* `inline-help`: Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
83
83
|
<!-- docs: end hidden content -->
|
84
84
|
|
85
|
-
##
|
85
|
+
## Accessibility
|
86
86
|
|
87
87
|
- While the component does not have a visible label, the search icon clearly indicates its purpose
|
88
88
|
- While not required to meet WCAG, this [pattern](https://www.w3.org/WAI/WCAG2/supplemental/patterns/o1p07-icons-used/) is a great way to help individuals with cognitive accessibility needs
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.36.
|
3
|
+
"version": "3.36.6",
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|