https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42335 --- Comment #9 from Brendan Lawlor <blawlor@clamsnet.org> --- (In reply to Owen Leonard from comment #7)
It seems odd to me to show "(0)" all the time. It seems distracting. I wonder if there's a way to handle that label without requiring the zero to be there.
I thought about this some more and I think that if the accessible name is simply 'Cart' then it would be fine to remove the hard coded (0) that shows all the time. There is one other accessibility issue, that is worth a a follow up bug too. When you click on an empty cart the message that pops up 'Your cart is currently empty' and when adding records to the cart 'This record has been added to your cart' When those messages are visible they are temporarily in the accessibility tree, but a screen reader wouldn't hear it. - It has no role="status" or aria-live so the change is not announced (only one of these would be needed) - The #cartDetails div is not connected to the link with aria-describedby - The message itself is gone after 2 seconds, so that could also fail WCAG 2.2.1 (Timing adjustable) -- You are receiving this mail because: You are watching all bug changes.