Accessibility: Sidenav button not a button and missing colla


Topic: Accessibility: Sidenav button not a button and missing collapsed status

pro asked 6 years ago

Accessibility: Sidenav button not a button and missing collapsed status The button to open the sidebar is not a button but a link. Can this be a button? The first menu-item in the sidebar is collapsable, but the colapsed status isn't passed to the screenreaders. Can the aria-expended attribute used for this purpose? See example

Piotr Glejzer staff answered 6 years ago

Hi, We are using an anchor like a button so if you want change anchor to a button it's not a problem you can use a button.  If you are using a screenreader collapsable doesn't work? Best, Piotr
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.9
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes