From 8db8dc95fbecc9393a69fa3016d9143ee46cfccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mihca=C5=82=20Kadzik?= Date: Tue, 20 Apr 2021 11:26:18 +0200 Subject: [PATCH 1/2] aria label change --- src/components/button/button.jsx | 6 ++++-- src/components/label/label.jsx | 3 ++- src/components/popup/details/details.jsx | 12 ++++++++---- src/components/popup/intro/intro.jsx | 8 ++++---- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/components/button/button.jsx b/src/components/button/button.jsx index c5e59964..0396ddd6 100644 --- a/src/components/button/button.jsx +++ b/src/components/button/button.jsx @@ -14,12 +14,14 @@ export default class Button extends Component { children, onClick, invert, - ariaLabel + id, + ariaLabelledBy, } = props; return ( + + Back + + ); diff --git a/src/components/popup/intro/intro.jsx b/src/components/popup/intro/intro.jsx index 5679667c..1777b0b5 100644 --- a/src/components/popup/intro/intro.jsx +++ b/src/components/popup/intro/intro.jsx @@ -35,19 +35,19 @@ export default class Intro extends Component {
From 05a61a1df72637c4b8855c0329e4afa1354da4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mihca=C5=82=20Kadzik?= Date: Tue, 20 Apr 2021 11:27:31 +0200 Subject: [PATCH 2/2] fix --- src/components/button/button.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/button/button.jsx b/src/components/button/button.jsx index 0396ddd6..eebe06fa 100644 --- a/src/components/button/button.jsx +++ b/src/components/button/button.jsx @@ -14,8 +14,7 @@ export default class Button extends Component { children, onClick, invert, - id, - ariaLabelledBy, + ariaLabelledBy } = props; return (