hypothesis / hypothesis/client

Update clustered-highlights prototype to account for accessibility of "hidden" highlights

Open
#5,027 1 comment 0 reactions 1 assignee Claimed by @lyzadanger View on GitHub
feature request project: clustered highlights
Dominant language
Mustache
Stars
730
Forks
224
PR merge metrics
No merged PRs in 30d

Description

The clustered-highlights prototype (behind the `style_highlight_clusters` feature flag) allows one to change the colors used to style highlights clustered by ownership; it also allows you to "hide" clusters of annotations (shown here with "My annotations" hidden):

image

This was implemented in a quick-and-dirty way that technically just sets the background color for that cluster to `transparent`. Need to update such that screen readers do not read out "annotation start" and "annotation end" announcements in these hidden clusters or otherwise ensure that hidden highlights are sufficiently hidden for screen-reader users.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.