Skip to content

Commit 83886b9

Browse files
authored
Remove aria role tooltip from AppBar component (#3590)
1 parent 9843291 commit 83886b9

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.changeset/major-parents-serve.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@skeletonlabs/skeleton-svelte": patch
3+
"@skeletonlabs/skeleton-react": patch
4+
---
5+
6+
chore: Remove aria role tooltip from AppBar component
7+

packages/skeleton-react/src/components/AppBar/AppBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const AppBarRoot: FC<AppBarProps> = ({
1818
children
1919
}) => {
2020
return (
21-
<div className={`${base} ${background} ${spaceY} ${border} ${padding} ${shadow} ${classes}`} role="toolbar" data-testid="app-bar">
21+
<div className={`${base} ${background} ${spaceY} ${border} ${padding} ${shadow} ${classes}`} data-testid="app-bar">
2222
{children}
2323
</div>
2424
);

packages/skeleton-svelte/src/components/AppBar/AppBar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
<!-- @component A header element for the top of a page layout. -->
4545

46-
<header class="{base} {background} {spaceY} {border} {padding} {shadow} {classes}" role="toolbar" data-testid="app-bar">
46+
<header class="{base} {background} {spaceY} {border} {padding} {shadow} {classes}" data-testid="app-bar">
4747
<section class="{toolbarBase} {toolbarGridCols} {toolbarGap} {toolbarClasses}" data-testid="app-bar-toolbar">
4848
{#if lead}
4949
<div class="{leadBase} {leadSpaceX} {leadPadding} {leadClasses}">

0 commit comments

Comments
 (0)