Affects Version/s: 7.2.X, 7.3.X, Master
Upon running the source code from /web/guest/home through an online validator like https://validator.w3.org/nu/#textarea, the following error is displayed:
According to the spec:
If a grouping container that can be expanded or collapsed is not owned by the element that has the aria-expanded attribute, the author SHOULD identify the controlling relationship by referencing the container from the element that has aria-expanded with the aria-controls property.
Since the grouping container is not owned by the div, we should explicitly add role="button" to resolve the issue.
STEPS TO REPRODUCE
Go to http://localhost:8080/web/guest/home
Copy the source code and paste into the text area of the site https://validator.w3.org/nu/#textarea (NU is a tool from w3.org to validate html and other markup languages) and select the check button.
Site reports errors