Skip to content

Commit bce0aaf

Browse files
Apply Margaree's suggestions
Co-authored-by: Margaree Peacocke <[email protected]>
1 parent 9a9944c commit bce0aaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/expand-collapse/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ The `d2l-expand-collapse-content` element can be used to create expandable and c
4141
To make your usage of `d2l-expand-collapse-content` accessible, it should follow the [W3C Disclosure (Show/Hide) Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/).
4242

4343
To achieve this, the control that toggles the expanded state should:
44-
- Should use the [`d2l-button`](../button) or use an element with the [`button`](https://w3c.github.io/aria/#button) role
44+
- Use the [`d2l-button`](../button) or use an element with the [`button`](https://w3c.github.io/aria/#button) role
4545
- Toggle between states when using the `Enter` and `Space` buttons and retain focus upon toggle
46-
- Have the [`aria-expanded`](https://www.w3.org/TR/wai-aria/#aria-expanded) attribute, so screen reader users will know what state it's in
46+
- Have the [`aria-expanded`](https://www.w3.org/TR/wai-aria/#aria-expanded) attribute set to `'true'` or `'false'` depending on expansion state so that screen reader users will know what state it's in
4747
- Be adjacent to the expanded/collapsed content
4848

0 commit comments

Comments
 (0)