Hi everyone,
I'm trying to make Collapsed Topics more accessible by adding the ARIA button information: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_button_role - which I've done, however the 'space bar' detection is not working for me with the JS line in module.js:
Y.delegate('key', this.toggleClick, 'up:32', 'ul.ctopics .toggle', this);
Ref: http://yuilibrary.com/yui/docs/event/key.html
however, in testing I've found that the 'enter' key works to activate the toggle on and off. Is this OK to use instead of the space bar?
Cheers,
Gareth