hc-sc / rsa-renewal

GC renewal for Recalls and Safety Alerts
http://search-recherche.gc.ca/rGsPreview/s_r?st=s&s5bm3ts21rch=x&num=10&st1rt=0&langs=eng&cdn=rasf&&
1 stars 0 forks source link

Accessibility issue on the expand/collapse (should be listed as headings) #7

Open lmichaud opened 5 years ago

lmichaud commented 5 years ago

Current WET library has expand/collapse as regular containers (not headers) breaking accessibility. Need to raise as an issue on main WET repo.

thomasgohard commented 5 years ago

Assistive technologies don't support headings in the details/summary elements (which are used for the expand collapse). That's why WET (and the MWS) don't support putting headings in that component. That issue was documented as part of IRCC's migration to the MWS; although I don't know if it was formally documented in WET.