You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: website/docs/components/form/super-select/partials/code/component-api.md
+6-15
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,12 @@ While the [ember-power-select documentation](https://ember-power-select.com/docs
13
13
14
14
!!! Info
15
15
16
-
The default values of some [ember-power-select](https://ember-power-select.com/docs/api-reference) options have been overridden in some cases to either resolve accessibility issues or to customize according to our needs. These options are documented below.
16
+
The default values of some [ember-power-select](https://ember-power-select.com/docs/api-reference) options have been overridden to either resolve accessibility issues or to customize according to our needs.
17
+
18
+
Overrides to fix accessibility issues:
19
+
20
+
-`renderInPlace`: Always set as `true`. The opener element or “trigger” must be next to dropdown content it hides & reveals.
21
+
-`searchFieldPosition`: Always set to `"before-options"`. Rendering the search input within the trigger is not compliant because it nests interactive elements within each other.
17
22
18
23
!!!
19
24
@@ -72,13 +77,6 @@ The default values of some [ember-power-select](https://ember-power-select.com/d
72
77
<br><br>
73
78
If a value for `dropdownMaxWidth` is set, `matchTriggerWidth` is automatically set to false.
Determines whether the dropdown options are rendered in place within the DOM vs. being attached to the root of the HTML `<body>` and positioned with JavaScript.
77
-
<br><br>
78
-
Set as `true` in `SuperSelect` components to fix a `PowerSelect` accessibility issue. (The opener element or “trigger” should be next to dropdown content it hides & reveals.)
Determines whether the dropdown options are rendered in place within the DOM vs. being attached to the root of the HTML `<body>` and positioned with JavaScript.
209
-
<br><br>
210
-
Set as `true` in `SuperSelect` components to fix a `PowerSelect` accessibility issue. (The opener element or “trigger” should be next to dropdown content it hides & reveals.)
Copy file name to clipboardexpand all lines: website/docs/components/form/super-select/partials/guidelines/guidelines.md
-6
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,6 @@ The before and after options are areas above and below the list, independent fro
53
53
54
54
BeforeOptions allows for either a search field or generic content to be displayed before the options list.
55
55
56
-
!!! Warning
57
-
58
-
Currently, the Multiple component includes search within an area of the trigger instead of displaying it in the beforeOptions. This causes a nested interaction which is an accessibility violation. We are in the process of working with the Ember Power Select maintainers to resolve this issue and make it the same as in the Single component.
59
-
60
-
!!!
61
-
62
56
#### Search
63
57
64
58
If enabled, search allows the user to filter results based on a query.
0 commit comments