Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f
### Documentation

- Updated icon documentation to use imports from polaris-icons ([#1561](https://github.com/Shopify/polaris-react/pull/1561))
- Fixed an accessibility issue in the `Collapsible` component example ([#1591](https://github.com/Shopify/polaris-react/pull/1591))

### Development workflow

Expand Down
6 changes: 5 additions & 1 deletion src/components/Collapsible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ class CollapsibleExample extends React.Component {
<div style={{height: '200px'}}>
<Card sectioned>
<Stack vertical>
<Button onClick={this.handleToggleClick} ariaExpanded={open}>
<Button
onClick={this.handleToggleClick}
ariaExpanded={open}
ariaControls="basic-collapsible"
>
Toggle
</Button>
<Collapsible open={open} id="basic-collapsible">
Expand Down