aria-ease 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,8 +24,8 @@ const App = () => {
24
24
 
25
25
  return (
26
26
  <div>
27
- <button onClick={toggleMenuDisplay}>Display</button>
28
- <div id="custom-menu" role="menu">
27
+ <button id="display-button" onClick={toggleMenuDisplay}>Display</button>
28
+ <div id="custom-menu" role="menu" aria-labelledby="display-button">
29
29
  <button role="menuitem" className="profile-menu-item">One</button>
30
30
  <button role="menuitem" className="profile-menu-item">Two</button>
31
31
  <button role="menuitem" className="profile-menu-item">Three</button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aria-ease",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Out of the box utility accessibility package to develop production ready applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {