survey-library
survey-library copied to clipboard
Checkboxes - Accessibility Issue - Ensures role attribute has an appropriate value for the element (fieldset)
User Issue: T15286 - Accessibility test https://surveyjs.answerdesk.io/internal/ticket/details/T15286
Enable the Accessibility Insights for Web and Run the Fast Pass check over a Checkboxes question. The following issue appears:
Refer to the details below:
Title: ,WCAG 1.3.1,WCAG 4.1.2,Best Practice: Ensures role attribute has an appropriate value for the element (fieldset) Tags: Accessibility, , WCAG 1.3.1, WCAG 4.1.2, Best Practice, aria-allowed-role
Issue: Ensures role attribute has an appropriate value for the element (aria-allowed-role - https://dequeuniversity.com/rules/axe/4.7/aria-allowed-role?application=msftAI)
Target application: https://surveyjs.io/form-library/examples/s/create-checkboxes-question-in-javascript/reactjs/default
Element path: fieldset
Snippet:
This issue is a minor one (minor by accessibility tool classification). It doesn't affect screen reader and doesn't create any inconvinienses for disabled people. Right now due to current markup specifics there is no an easy way to fix it. We'll keep this issue open as a "known one" and return to it during future improvements.