vendredi 5 décembre 2014

Focusing Accordion Panel Title

Hey guys,

I might be looking at this wrong, but it seems like if I try to focus the title of an accordion-layout grid panel, no "focus" class is added to said title. This means that I'm unable to add an outline (as an accessibility tool for clients using keyboard only) around the title.


I've been thinking of a couple ways to remedy this - such as adding a focus listener to the title that adds the class for me, but that doesn't seem possible either...


Among the things I've tried is the following:



Code:



grid.title.el.on('focus',function() {blahblah});

But title doesn't have an element and it doesn't seem possible to add a listener to it.

Has anyone else come across this before? It's entirely possible that I'm just missing a simple config.






Focusing Accordion Panel Title

Aucun commentaire:

Enregistrer un commentaire