about summary refs log tree commit diff
path: root/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-11-22 15:23:24 +0000
committerGitHub <noreply@github.com>2024-11-22 15:23:24 +0000
commit5d4aaa5b5faa595d1967eabe11fda9615d7ba1f6 (patch)
tree9393ff40a5e549ea587e64af21134091068eb314 /src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx
parent437bdcf9a9b3c78f1d9c5aae35757e78db7ad062 (diff)
downloadvoidsky-5d4aaa5b5faa595d1967eabe11fda9615d7ba1f6.tar.zst
[a11y] Video - fix labels and make more detailed (#6635)
* fix labels and make more detailed

* move overall label to parent
Diffstat (limited to 'src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx')
-rw-r--r--src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx
index 63ac32b10..90ffb9e6b 100644
--- a/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx
+++ b/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VolumeControl.tsx
@@ -77,6 +77,7 @@ export function VolumeControl({
               min={0}
               max={100}
               value={sliderVolume}
+              aria-label={_(msg`Volume`)}
               style={
                 // Ridiculous safari hack for old version of safari. Fixed in sonoma beta -h
                 isSafari ? {height: 92, minHeight: '100%'} : {height: '100%'}