diff --git a/README.md b/README.md index d9ab059..2b96420 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ - **Version 2.2 (breaking changes from 2.1.x)** - - 2.2.13: + - 2.2.13/2.2.14: - Updated Textarea and all Input components to allow aria-label. - Updated Select components. - 2.2.12: Updated Select components to WCAG with aria-label and role. diff --git a/package.json b/package.json index 3256455..d83e0c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@conduction/components", - "version": "2.2.13", + "version": "2.2.14", "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)", "main": "lib/index.js", "scripts": { diff --git a/src/components/formFields/select/select.tsx b/src/components/formFields/select/select.tsx index 41cf75f..ed6de4a 100644 --- a/src/components/formFields/select/select.tsx +++ b/src/components/formFields/select/select.tsx @@ -86,7 +86,7 @@ export const SelectMultiple = ({ element.setAttribute("role", "presentation"); } }); - document.querySelectorAll('[class*="a11yText-A11yText"]').forEach((element: any) => { + document.querySelectorAll('[class*="a11yText"]').forEach((element: any) => { if (element.role !== "presentation") { element.setAttribute("role", "presentation"); } @@ -205,7 +205,7 @@ export const SelectSingle = ({ element.setAttribute("role", "presentation"); } }); - document.querySelectorAll('[class*="a11yText-A11yText"]').forEach((element: any) => { + document.querySelectorAll('[class*="a11yText"]').forEach((element: any) => { if (element.role !== "presentation") { element.setAttribute("role", "presentation"); }