@khanacademy/wonder-blocks-clickable
Advanced tools
Comparing version 4.2.2 to 4.2.3
# @khanacademy/wonder-blocks-clickable | ||
## 4.2.3 | ||
### Patch Changes | ||
- f099cf87: Improves accessibility of the checked status on `OptionItem` components used | ||
within the `ActionMenu` component. The checked status is communicated to | ||
screenreaders by using a `menuitemcheckbox` role with the `aria-checked` | ||
attribute (instead of `aria-selected`). - `CellCore` (used by `CompactCell` and `DetailCell`) has a new optional | ||
prop for `aria-checked` - `ClickableRole` type now supports the `menuitemcheckbox` role - `OptionItem`'s `role` prop now also supports the `menuitemcheckbox` role | ||
## 4.2.2 | ||
@@ -4,0 +14,0 @@ |
import * as React from "react"; | ||
export type ClickableRole = "button" | "checkbox" | "link" | "listbox" | "menu" | "menuitem" | "option" | "radio" | "switch" | "tab"; | ||
export type ClickableRole = "button" | "checkbox" | "link" | "listbox" | "menu" | "menuitem" | "menuitemcheckbox" | "option" | "radio" | "switch" | "tab"; | ||
type CommonProps = Readonly<{ | ||
@@ -4,0 +4,0 @@ /** |
{ | ||
"name": "@khanacademy/wonder-blocks-clickable", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"design": "v1", | ||
@@ -5,0 +5,0 @@ "description": "Clickable component for Wonder-Blocks.", |
@@ -11,2 +11,3 @@ import * as React from "react"; | ||
| "menuitem" | ||
| "menuitemcheckbox" | ||
| "option" | ||
@@ -13,0 +14,0 @@ | "radio" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252749
4702