Skip to content

ff-asn > ff-asn-group > disable-auto-expand results in "[aria-*] attributes do not have valid values" #322

@view6com

Description

@view6com
  • FACT-Finder-Web-Components Magento2-Module version (see composer.json): 4.0.2
  • Magento edition and version: 2.4.2
  • PHP version: 7.2
  • Expected behavior: allow value disable-auto-expand="true"
  • Actual behavior: value stripped to render 'disable-auto-expand' which is interpreted by browser as disable-auto-expand=""
  • Steps to reproduce: run Lighthouse report on FACT Finder search results with Filters, view Accessibility issues

The following file:

/Omikron_Factfinder/templates/ff/asn.phtml

allows the Property 'disable-auto-expand' within ff-asn-group. This property results in the following 'highlighted opportunity to improve experience for assertive users' within a Lighthouse report:

[aria-*] attributes do not have valid values
Assistive technologies, like screen readers, can't interpret ARIA attributes with invalid values.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions