projectblacklight / blacklight

Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr) index.
http://projectblacklight.org/
Other
757 stars 256 forks source link

[backport] Add role=region and aria-controls to the FacetFieldComponent #3139

Closed jcoyne closed 8 months ago

jcoyne commented 8 months ago

This follows the example of https://www.w3.org/WAI/ARIA/apg/patterns/accordion/examples/accordion/ for setting the aria properties for an accordion type widget

This is a backport of #3129

jrochkind commented 8 months ago

If this is a backport, can you link to the PR on main branch that it backports? I find that bookkeeping can be pretty invaluable at tracing what was done, especially in cases something works out unexpectedly or needs to be debugged.

If this is not feasible now, cause it wasn't necessarily one easily identifiable PR or some other reason, cool, just say so!

jcoyne commented 8 months ago

@jrochkind Sure. I've updated the description.