Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix accessibility violations in List Storybook #6861

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert changes.
  • Loading branch information
navedqb committed Jul 5, 2023
commit 9a49a65f7539656eb0592f6c2c9f7ab64f2166e0
7 changes: 1 addition & 6 deletions src/js/components/List/stories/Order.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ export const Order = () => {
const [ordered, setOrder] = useState(locations);
return (
<Box align="center" pad="large">
<List
role="list"
aria-label="order list"
data={ordered}
onOrder={setOrder}
/>
<List aria-label="order list" data={ordered} onOrder={setOrder} />
</Box>
);
};
Expand Down