File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed
packages/volto/src/components/manage/Toolbar/__snapshots__ Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ exports[`Toolbar > renders the Toolbar component 1`] = `
1717 </div >,
1818 <div
1919 className = " toolbar expanded"
20+ id = " toolbar"
2021 >
2122 <div
2223 className = " toolbar-body"
@@ -182,10 +183,19 @@ exports[`Toolbar > renders the Toolbar component 1`] = `
182183 className = " toolbar-handler"
183184 >
184185 <button
186+ aria-controls = " toolbar"
187+ aria-expanded = { true }
185188 aria-label = " Shrink toolbar"
186189 className = " toolbar-handler-button"
187190 onClick = { [Function ]}
188- />
191+ >
192+ <span
193+ aria-live = " assertive"
194+ className = " visually-hidden"
195+ >
196+ Shrink toolbar
197+ </span >
198+ </button >
189199 </div >
190200 </div >,
191201 <div
@@ -211,6 +221,7 @@ exports[`Toolbar > renders the Toolbar component with lock 1`] = `
211221 </div >,
212222 <div
213223 className = " toolbar expanded"
224+ id = " toolbar"
214225 >
215226 <div
216227 className = " toolbar-body"
@@ -376,10 +387,19 @@ exports[`Toolbar > renders the Toolbar component with lock 1`] = `
376387 className = " toolbar-handler"
377388 >
378389 <button
390+ aria-controls = " toolbar"
391+ aria-expanded = { true }
379392 aria-label = " Shrink toolbar"
380393 className = " toolbar-handler-button"
381394 onClick = { [Function ]}
382- />
395+ >
396+ <span
397+ aria-live = " assertive"
398+ className = " visually-hidden"
399+ >
400+ Shrink toolbar
401+ </span >
402+ </button >
383403 </div >
384404 </div >,
385405 <div
You can’t perform that action at this time.
0 commit comments