Skip to content

Commit b2d76e1

Browse files
Release 0.5.1
1 parent 5aa6ab1 commit b2d76e1

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

RELEASENOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ These are changes that have backwards-compatible solutions present and that comp
1414

1515
---
1616

17+
## Release 0.5.1
18+
19+
**DOCUMENTATION**
20+
21+
- Adds mention of setting `AppElement` for `Modal` and `AppLauncher` to component documenation, so that the entire `body` is not hidden for assistive technology users.
22+
1723
## Release 0.5.0
1824

1925
**MINOR FEATURES**

components/app-launcher/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import { APP_LAUNCHER } from '../../utilities/constants';
6464
* </AppLauncher>
6565
* ```
6666
*
67-
* By default, `Modal`, a child component of App Launcher, will add `aria-hidden=true` to the `body` tag, but this disables some assistive technologies. To prevent this you can add the following to your application with `#mount` being the root node of your application that you would like hide from assistive technologies when the `Modal` is open.
67+
* By default, `Modal`, a child component of App Launcher, will add `aria-hidden=true` to the `body` tag, but this disables some assistive technologies. To prevent this you can add the following to your application with `#mount` being the root node of your application that you would like to hide from assistive technologies when the `Modal` is open.
6868
* ```
6969
* import settings from 'design-system-react/components/settings';
7070
* settings.setAppElement('#mount');

components/modal/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ const defaultProps = {
120120
};
121121

122122
/**
123-
* The Modal component is used for the Lightning Design System Modal and Notification > Prompt components. The Modal opens from a state change outside of the component itself (pass this state to the <code>isOpen</code> prop).
124-
* For more details on the Prompt markup, please review the <a href="http://www.lightningdesignsystem.com/components/notifications#prompt">Notifications > Prompt</a>.
125-
* By default, `Modal` will add `aria-hidden=true` to the `body` tag, but this disables some assistive technologies. To prevent this you can add the following to your application with `#mount` being the root node of your application that you would like hide from assistive technologies when the `Modal` is open.
123+
* The Modal component is used for the Lightning Design System Modal and Notification > Prompt components. The Modal opens from a state change outside of the component itself (pass this state to the <code>isOpen</code> prop). For more details on the Prompt markup, please review the <a href="http://www.lightningdesignsystem.com/components/notifications#prompt">Notifications > Prompt</a>.
124+
*
125+
* By default, `Modal` will add `aria-hidden=true` to the `body` tag, but this disables some assistive technologies. To prevent this you can add the following to your application with `#mount` being the root node of your application that you would like to hide from assistive technologies when the `Modal` is open.
126126
* ```
127127
* import settings from 'design-system-react/components/settings';
128128
* settings.setAppElement('#mount');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "design-system-react",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "Salesforce Lightning Design System React components",
55
"license": "BSD-3-Clause",
66
"engines": {

0 commit comments

Comments
 (0)