From 428b8ced82926d9e4cfc30924eabdcb934154b19 Mon Sep 17 00:00:00 2001 From: Carina <47381367+ssb-cgn@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:50:03 +0100 Subject: [PATCH] Fix aria label input component (#916) * If ariaLabel hide label for screen-readers * Bump version --- package.json | 2 +- src/components/Input/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 96b76758..67cf75a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.0.95", + "version": "2.0.96", "description": "Component library for SSB (Statistics Norway)", "main": "lib/bundle.js", "scripts": { diff --git a/src/components/Input/index.jsx b/src/components/Input/index.jsx index d7fdbdf1..e085630a 100644 --- a/src/components/Input/index.jsx +++ b/src/components/Input/index.jsx @@ -23,7 +23,7 @@ const Input = forwardRef(({ return (
- {label && } + {label && }