details-polyfill icon indicating copy to clipboard operation
details-polyfill copied to clipboard

Lack of keyboard accessibility

Open RinkAttendant6 opened this issue 6 years ago • 0 comments

It appears that the polyfill doesn't provide any keyboard accessibility to toggle the details element. I tried adding tabindex=0 to the <summary> element, which makes it focusable but not toggleable.

Both Chrome and Firefox allow the user to focus on the <summary> element and toggle the details using the Space or Enter keys.

It is probably not too difficult to implement, if I do get something working I will send over a pull request

RinkAttendant6 avatar Aug 13 '18 18:08 RinkAttendant6