Closed bryanjonker-illinois closed 7 months ago
Answers:
@mattsharkey -- updates are done. Let me know what you think.
Tests still fail, but that's because the tests need to choose the button, not the text underneath. I think this will work if you change
await page.getByText('Alumni', { exact: true })
to await page.getByRole('button', { name: 'Alumni' })
. I think this is a truer test because it confirms the role is button, which is important for assistive technology.
@mattsharkey -- changes based on our talk are done.
Accessibility notes:
aria-expanded
to reflect if it is expanded or notaria-labelled-by
pointing to ID of headeraria-controls
pointing to ID of panel it controlsrole
of region to signify a separate areaaria-labelledby
pointing to ID of header (all regions require a label)According to the design, header should have a fixed size, no matter which heading level it has. I added the CSS, not sure if this is the right solution?
Questions:
I'm happy with this process. Looking forward to talking with you at our meeting.