From 68dd7771e3c5f9421bd639f8cf94b39ce32732f9 Mon Sep 17 00:00:00 2001 From: Jacob Fletcher Date: Tue, 4 Oct 2022 21:43:12 -0400 Subject: [PATCH] chore: adds favicon to demo --- demo/index.html | 1 + src/SliderProvider/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/index.html b/demo/index.html index ef438ac..74053c4 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,6 +1,7 @@ React Slider + diff --git a/src/SliderProvider/index.tsx b/src/SliderProvider/index.tsx index 2358555..378819f 100644 --- a/src/SliderProvider/index.tsx +++ b/src/SliderProvider/index.tsx @@ -52,7 +52,7 @@ const SliderProvider: React.FC = (props) => { id: idFromProps } = props; - // NOTE: the 'aria-controls' attribute relies on this matching IDs + // NOTE: some ARIA attributes rely on matching IDs const uniqueID = useId(); const id = idFromProps || uniqueID;