Skip to content

Roles & permissions widgets are not accessibleΒ #48

@bradenmacdonald

Description

@bradenmacdonald

This UI does not seem to have been implemented with a11y in mind.

  1. For a non-visual user / screenreader user, there is currently no way to distinguish included vs. excluded permissions on this view:
    Image showing the problematic UI

  2. The numbers after each role have no alt text associated with the "πŸ‘€" icon, so a screen reader will just read it as e.g. "Library User 1" and it would be unclear what the number is for:
    Image showing a confusing icon

    (The <Icon src={Person} className="mr-1" /> in the <CardTitle> component is missing the screenReaderText property - "This value is recommended for use unless the Icon is being used in a way that is purely decorative or provides no additional context for screen reader users. This field should be thought of the same way an alt attribute would be used for image tags.")

  3. On this page, the βœ… and ❌ icons are hidden entirely from screenreaders, so they'll just find a blank table:
    Image highlighting the problematic area of the UI

  4. Likely other issues - these are just the ones I noticed so far.

Metadata

Metadata

Labels

a11yRelates to platform accessibilitybugReport of or fix for something that isn't working as intendedverawoodReleased in Verawood

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions