Scaffold: add roles to position containers
This commit is contained in:
parent
bdaaeadba6
commit
9da4a3a4b3
1 changed files with 3 additions and 3 deletions
|
@ -36,12 +36,12 @@ const Scaffold: Component<ScaffoldProps> = (props) => {
|
|||
return (
|
||||
<>
|
||||
<Show when={props.topbar}>
|
||||
<div class="Scaffold__topbar" ref={setTopbarElement}>
|
||||
<div class="Scaffold__topbar" ref={setTopbarElement} role="presentation">
|
||||
{props.topbar}
|
||||
</div>
|
||||
</Show>
|
||||
<Show when={props.fab}>
|
||||
<div class="Scaffold__fab-dock">{props.fab}</div>
|
||||
<div class="Scaffold__fab-dock" role="presentation">{props.fab}</div>
|
||||
</Show>
|
||||
<div
|
||||
ref={(e) => {
|
||||
|
@ -61,7 +61,7 @@ const Scaffold: Component<ScaffoldProps> = (props) => {
|
|||
{managed.children}
|
||||
</div>
|
||||
<Show when={props.bottom}>
|
||||
<div class="Scaffold__bottom-dock">{props.bottom}</div>
|
||||
<div class="Scaffold__bottom-dock" role="presentation">{props.bottom}</div>
|
||||
</Show>
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue