Skip to content

Commit

Permalink
v2.226.1 - List Item role='tab' has to be on the outermost item, so t…
Browse files Browse the repository at this point in the history
…hat the items are numbered correctly.
  • Loading branch information
chloehunter committed Feb 5, 2025
1 parent beb0913 commit df19cc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clever-components",
"version": "2.226.0",
"version": "2.226.1",
"description": "A library of helpful React components and less styles",
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions src/List/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ export default class Item extends React.PureComponent<Props> {
}

return (
<div className={classnames(cssClass.CONTAINER, className)}>
<div className={classnames(cssClass.CONTAINER, className)} role="tab">
<Wrapper
role="tab"
aria-selected={selected}
className={classnames(cssClass.CONTENT_WRAPPER, !!onClick && cssClass.CONTENT_ONCLICK)}
onClick={onClick}
Expand Down

0 comments on commit df19cc8

Please sign in to comment.