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
I have noticed the following error in our accessibility testing:
The “group” role is unnecessary for element “details”.
The attribute is added automatically by the file govuk-frontend-2.13.0.min.js (or relevant version number) in the dist directory of this project.
In my example the attribute is added to a <details> tag which changes from: <details class="govuk-details govuk-!-margin-top-1">
to: <details class="govuk-details govuk-!-margin-top-1" role="group">
I cannot work around this by adding role="none" to the source code as it still gets overwritten with role="group".
Please can we investigate why this attribute is being set, and consider removal to remove this error from our testing? This is very low priority for my team as we can ignore individual errors from the test results, but it might be a nice thing to investigate to see if we can improve.
The text was updated successfully, but these errors were encountered:
I have noticed the following error in our accessibility testing:
The attribute is added automatically by the file govuk-frontend-2.13.0.min.js (or relevant version number) in the dist directory of this project.
In my example the attribute is added to a
<details>
tag which changes from:<details class="govuk-details govuk-!-margin-top-1">
to:
<details class="govuk-details govuk-!-margin-top-1" role="group">
I cannot work around this by adding
role="none"
to the source code as it still gets overwritten withrole="group"
.Please can we investigate why this attribute is being set, and consider removal to remove this error from our testing? This is very low priority for my team as we can ignore individual errors from the test results, but it might be a nice thing to investigate to see if we can improve.
The text was updated successfully, but these errors were encountered: