@dloizides/ui-forms 1.28.0 → 1.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1734,7 +1734,6 @@ var CHEVRON_UP = "\u25B4";
|
|
|
1734
1734
|
function listboxTriggerAria(testID, hasList, highlighted) {
|
|
1735
1735
|
return {
|
|
1736
1736
|
role: "combobox",
|
|
1737
|
-
"aria-haspopup": "listbox",
|
|
1738
1737
|
"aria-controls": hasList ? listboxDomId(testID) : void 0,
|
|
1739
1738
|
"aria-activedescendant": highlighted !== void 0 ? optionDomId(testID, highlighted.value) : void 0
|
|
1740
1739
|
};
|
|
@@ -1790,6 +1789,7 @@ function SelectControl({
|
|
|
1790
1789
|
accessibilityHint,
|
|
1791
1790
|
accessibilityState: { expanded: isOpen },
|
|
1792
1791
|
"aria-expanded": isOpen,
|
|
1792
|
+
"aria-haspopup": isListbox ? "listbox" : "menu",
|
|
1793
1793
|
"aria-labelledby": labelledById,
|
|
1794
1794
|
onBlur: isListbox ? close : void 0,
|
|
1795
1795
|
onPress: toggle,
|