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 (
|
return (
|
||||||
<>
|
<>
|
||||||
<Show when={props.topbar}>
|
<Show when={props.topbar}>
|
||||||
<div class="Scaffold__topbar" ref={setTopbarElement}>
|
<div class="Scaffold__topbar" ref={setTopbarElement} role="presentation">
|
||||||
{props.topbar}
|
{props.topbar}
|
||||||
</div>
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
<Show when={props.fab}>
|
<Show when={props.fab}>
|
||||||
<div class="Scaffold__fab-dock">{props.fab}</div>
|
<div class="Scaffold__fab-dock" role="presentation">{props.fab}</div>
|
||||||
</Show>
|
</Show>
|
||||||
<div
|
<div
|
||||||
ref={(e) => {
|
ref={(e) => {
|
||||||
|
@ -61,7 +61,7 @@ const Scaffold: Component<ScaffoldProps> = (props) => {
|
||||||
{managed.children}
|
{managed.children}
|
||||||
</div>
|
</div>
|
||||||
<Show when={props.bottom}>
|
<Show when={props.bottom}>
|
||||||
<div class="Scaffold__bottom-dock">{props.bottom}</div>
|
<div class="Scaffold__bottom-dock" role="presentation">{props.bottom}</div>
|
||||||
</Show>
|
</Show>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue