Fix aria-pressed issues introduced in SAK-32389

Description

Invalid ARIA attribute value: aria-pressed=" true "

 

There can't be spaces here. Also the initial state wasn't being set correctly.

 

If the goal of making the <li> element clickable was to provide large area for a mouse click, this should be done via CSS. The "clickable" element needs to be focusable via keyboard. This element would be the <button>

Environment

None

Test Plan

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 12, 2017 at 5:04 PM
Updated July 13, 2017 at 12:26 PM
Resolved July 13, 2017 at 12:26 PM

Flag notifications