Skip to content

Commit

Permalink
Merge branch 'main' into ned/LC-620
Browse files Browse the repository at this point in the history
  • Loading branch information
nedredmond committed Oct 11, 2023
2 parents fd04daa + 7d8905b commit 70a0ee8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-bears-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@khanacademy/math-input": patch
---

Removes "grid" role from keypad to un-muddle screen reader experience.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ exports[`keypad should snapshot expanded: first render 1`] = `
<div
aria-label="Keypad"
class="default_xu2jcg-o_O-keypadGrid_ztxlrb-o_O-expressionGrid_1fuqhx9"
role="grid"
tabindex="0"
>
<div
Expand Down Expand Up @@ -1223,7 +1222,6 @@ exports[`keypad should snapshot unexpanded: first render 1`] = `
<div
aria-label="Keypad"
class="default_xu2jcg-o_O-keypadGrid_ztxlrb-o_O-expressionGrid_1fuqhx9"
role="grid"
tabindex="0"
>
<div
Expand Down
1 change: 0 additions & 1 deletion packages/math-input/src/components/keypad/keypad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export default function Keypad(props: Props) {
<View style={styles.keypadInnerContainer}>
<View
style={[styles.keypadGrid, gridStyle]}
role="grid"
tabIndex={0}
aria-label="Keypad"
>
Expand Down

0 comments on commit 70a0ee8

Please sign in to comment.