Skip to content

Commit 51f8eb7

Browse files
authored
fix: converted some leftovers of attribute changes from last major release 3.x (#4681)
1 parent 7858257 commit 51f8eb7

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
162 Bytes
Loading

packages/components/src/components/tooltip/docs/Angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { DBTooltip } from '@db-ux/ngx-core-components';
2020

2121
```html app.component.html
2222
<!-- app.component.html -->
23-
<db-button describedbyid="tooltip-01">
23+
<db-button aria-describedby="tooltip-01">
2424
Hover on me to open Tooltip
2525
<db-tooltip id="tooltip-01">Tooltip</db-tooltip>
2626
</db-button>

packages/components/src/components/tooltip/docs/React.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For general installation and configuration take a look at the [react-core-compon
99
import { DBTooltip, DBButton } from "@db-ux/react-core-components";
1010

1111
const App = () => (
12-
<DBButton describedbyid="tooltip-01">
12+
<DBButton aria-describedby="tooltip-01">
1313
Hover on me to open Tooltip
1414
<DBTooltip id="tooltip-01">Tooltip</DBTooltip>
1515
</DBButton>

packages/components/src/components/tooltip/docs/Vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { DBTooltip, DBButton } from "@db-ux/v-core-components";
1111
</script>
1212
1313
<template>
14-
<DBButton describedbyid="tooltip-01">
14+
<DBButton aria-describedby="tooltip-01">
1515
Hover on me to open Tooltip
1616
<DBTooltip id="tooltip-01">Tooltip</DBTooltip>
1717
</DBButton>

packages/components/src/components/tooltip/tooltip.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { DBButton } from '../button';
77

88
const comp: any = (
99
<div className="padding-box">
10-
<DBButton describedbyid="tooltip" data-testid="button">
10+
<DBButton aria-describedby="tooltip" data-testid="button">
1111
Button
1212
<DBTooltip animation="disabled" id="tooltip" data-testid="tooltip">
1313
Test

0 commit comments

Comments
 (0)