Skip to content

Commit 2dd6f62

Browse files
committed
task: Prepare for version 1.1.0
1 parent d69eee3 commit 2dd6f62

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

dialog/position/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A stylesheet to easily position a native HTML `<dialog>` element on the page, to
1212

1313
The following values are supported for the `data-position` attribute:
1414
```yaml
15-
# These result in a full width modal:
15+
# These values result in a full width modal:
1616
top
1717
bottom
1818
# These result in a full height modal:
@@ -61,14 +61,14 @@ showModal('myDialogId', { position: position.bottomRight });
6161

6262
Making modal dialogs accessible is not easy — see the [W3C][wai]’s [dialog.js][] file for the [modal APG pattern][apg] for an example of what’s involved.
6363

64-
Using a native `<dialog>` for the modal overlays in your web site or app has a number of benefits:
64+
Using a native `<dialog>` for the modal overlays in your web site or app has significant benefits:
6565

6666
* A clearly defined [API][dlg],
6767
* Fully stylable with CSS,
6868
* [Well supported][cani] by browsers,
6969
* Built-in [accessibility][], including keyboard and screen reader accessibility.
7070

71-
If you still prefer a non-native dialog, please consider using a library such as [Kitty Giraudel][kitty]’s [a11y-dialog][].
71+
If you still prefer a non-native dialog, please consider using a library built with accessibility in mind, such as [Kitty Giraudel][kitty]’s [a11y-dialog][].
7272

7373
## Acknowledgements
7474

@@ -87,7 +87,7 @@ Thanks to contributors on [Stackoverflow][so] for inspiration!
8787
[webpack]: https://webpack.js.org/
8888
[css-loader]: https://webpack.js.org/loaders/css-loader/
8989
[cani]: https://caniuse.com/dialog
90-
"Can I Use: dialog? — 96% support globally"
90+
"Can I Use: dialog? — 96% support globally (April 2025)"
9191
[wai]: https://www.w3.org/WAI/
9292
[apg]: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/examples/dialog/
9393
[src:dialog.js]: https://www.w3.org/WAI/content-assets/wai-aria-practices/patterns/dialog-modal/examples/js/dialog.js

dialog/position/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dialog-position",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"license": "MIT",
55
"main": "index.js",
66
"style": "index.css",

0 commit comments

Comments
 (0)