Skip to content

Deck editor: accessible filter dialog#6

Merged
RealAmethyst merged 1 commit into
RealAmethyst:masterfrom
JessicaTegner:jessica/deck_filter_a11y
May 16, 2026
Merged

Deck editor: accessible filter dialog#6
RealAmethyst merged 1 commit into
RealAmethyst:masterfrom
JessicaTegner:jessica/deck_filter_a11y

Conversation

@JessicaTegner
Copy link
Copy Markdown
Contributor

Filter-dialog portion of #4, split out so it can land on its own without the virtual-toolbar work.

Summary

Makes the deck-editor Filter dialog readable with a screen reader. Adds a FilterDialog.FilterGroup branch to DeckHandler.OnButtonFocused that handles all three widget shapes the dialog uses:

  • Toggles (Rarity, Frame, Attribute, Type, ...) — speaks <group name>, <toggle label>. The group name is deduped per category so navigating 25 Type toggles in a row doesn't repeat "Type" on every step.
  • ATK/DEF sliders (FilterSlider) — reads min/max from m_InputFieldWidget{Min,Max}.m_TMPInputFieldCache.text, stripping the zero-width-space placeholder that the field shows when empty. Speaks <group>, Min, <value> / <group>, Max, <value>.
  • Link arrows (FilterLinkMark) — the toggles have empty visible text and a Link_1..Link_8 label; N is the 1-based bit into Content.LinkMarkerBit. Routed through the existing FormatLinkArrows so the wording matches how link arrows are read in card readouts (e.g. "up left", "down right").

@RealAmethyst RealAmethyst merged commit c8704bc into RealAmethyst:master May 16, 2026
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.

2 participants