Skip to content

fix: [CDS-1935] Add selected a11y state to <Cell>#633

Open
maximo-macchi-cb wants to merge 4 commits intomasterfrom
max/cell-selected-a11y-state
Open

fix: [CDS-1935] Add selected a11y state to <Cell>#633
maximo-macchi-cb wants to merge 4 commits intomasterfrom
max/cell-selected-a11y-state

Conversation

@maximo-macchi-cb
Copy link
Copy Markdown
Contributor

What changed? Why?

This PR updates how the selected prop is used so that it applies the needed accessibility API attributes. On web it uses aria-selected and on mobile it uses React Native's accessibilityState.

Note that for mobile, there's no test file for <Cell> so the test is added to the <ListCell> unit tests.

Root cause (required for bugfixes)

The selected prop was not being used to apply these attributes.

UI changes

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

@maximo-macchi-cb maximo-macchi-cb self-assigned this Apr 21, 2026
@linear
Copy link
Copy Markdown

linear Bot commented Apr 21, 2026

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented Apr 21, 2026

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 1
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1
CODEOWNERS 🟡 See below

🟡 CODEOWNERS

Code Owner Status Calculation
ui-systems-eng-team 🟡 0/1
Denominator calculation
Additional CODEOWNERS Requirement
Show calculation
Sum 0
0
From CODEOWNERS 1
Sum 1

@github-actions
Copy link
Copy Markdown
Contributor

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

Development

Successfully merging this pull request may close these issues.

2 participants