Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(video-quality-slider): add expressive aria attributes
Joshua Irmer389d09ff60d9
diff --git a/react/features/video-quality/components/Slider.web.tsx b/react/features/video-quality/components/Slider.web.tsxindex 064bc72a46..4d30914f6e 100644--- a/react/features/video-quality/components/Slider.web.tsx+++ b/react/features/video-quality/components/Slider.web.tsx@@ -8,6 +8,11 @@ interface IProps {*/ariaLabel: string;+ /**+ * The 'aria-valuetext' text.+ */+ ariaValuetext?: string;+/*** The maximum value for slider value.*/@@ -135,9 +140,9 @@ const useStyles = makeStyles()(theme => {/*** Custom slider.*- * @returns {ReactElement}+ * @returns {JSX.Element}*/-function Slider({ ariaLabel, max, min, onChange, step, value }: IProps) {+function Slider({ ariaLabel, ariaValuetext, max, min, onChange, step, value }: IProps) {const { classes, cx } = useStyles();const knobs = [ ...Array(Math.floor((max - min) / step) + 1) ];@@ -154,6 +159,10 @@ function Slider({ ariaLabel, max, min, onChange, step, value }: IProps) {<div className = { classes.track } /><inputaria-label = { ariaLabel }+ aria-valuemax = { max }+ aria-valuemin = { min }+ aria-valuenow = { value }+ aria-valuetext = { ariaValuetext }className = { cx(classes.slider, 'custom-slider') }max = { max }min = { min }