Skip to content

Made plaintext decklist outputs more friendly to screenreaders#848

Open
distributive wants to merge 1 commit intoNull-Signal-Games:mainfrom
distributive:screen-readers
Open

Made plaintext decklist outputs more friendly to screenreaders#848
distributive wants to merge 1 commit intoNull-Signal-Games:mainfrom
distributive:screen-readers

Conversation

@distributive
Copy link
Contributor

Previously the plaintext data for decklists would include an x before each card (e.g. "3x Sure Gamble") which screenreaders would read out, making it an inaccessible feature. It also reads out the influence pips individually, so those have been simplified to plaintext.

image

@distributive
Copy link
Contributor Author

My editor added that extra space after the five_threes line. I don't know why.

@plural
Copy link
Collaborator

plural commented Sep 29, 2024

This makes it better for screen readers and worse for browser users. Let's take a look at how we can get the best of both worlds here.

@distributive
Copy link
Contributor Author

Feel free to edit this

@migueldlr
Copy link
Contributor

Hey @distributive ! We're re-reviewing this issue. Could you share a screen recording of the current inaccessible behavior? It'd help us better understand what this PR is doing

@distributive
Copy link
Contributor Author

Go to the plaintext output of a deck:
image

Note that there is an "x" after the number of each card, that a screen reader will read out:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants