Repository: Avaiga/taipy
File: frontend/taipy-gui/src/components/Taipy/Input.tsx (TypeScript)

Code before:
        (event: React.MouseEvent<HTMLButtonElement>) => event.preventDefault(),
        []
    );
    const muiInputProps = useMemo(
        () =>
            type == "password"
                ? {
                      endAdornment: (
                          <InputAdornment position="end">
                              <IconButton
                                  aria-label="toggle password visibility"
                                  onClick={handleClickShowPassword}
                                  onMouseDown={handleMouseDownPassword}
                                  edge="end"
                              >
                                  {showPassword ? <VisibilityOff /> : <Visibility />}
                              </IconButton>
                          </InputAdornment>
                      ),
                  }
                : type == "number"
                ? {
                      endAdornment: (
                          <div style={verticalDivStyle}>
                              <IconButton
                                  aria-label={"Increment " + id}
                                  size="small"
                                  onMouseDown={handleUpStepperMouseDown}
                              >
                                  <ArrowDropUpIcon fontSize="inherit" />
                              </IconButton>
                              <IconButton
                                  aria-label={"Decrement " + id}
                                  size="small"
                                  onMouseDown={handleDownStepperMouseDown}
                              >
                                  <ArrowDropDownIcon fontSize="inherit" />
                              </IconButton>
                          </div>
                      ),
                  }
                : undefined,
        [
            type,
            showPassword,
            handleClickShowPassword,
            handleMouseDownPassword,
            handleUpStepperMouseDown,
            handleDownStepperMouseDown,
        ]
    );

Review comment (suggestion):
Aria-label is used by automatic readers to help people with disabilities. 
We need to give it a value that is meaningful
I propose `increment value` (no id)

Code after:
        (event: React.MouseEvent<HTMLButtonElement>) => event.preventDefault(),
        []
    );
    const muiInputProps = useMemo(
        () =>
            type == "password"
                ? {
                      endAdornment: (
                          <InputAdornment position="end">
                              <IconButton
                                  aria-label="toggle password visibility"
                                  onClick={handleClickShowPassword}
                                  onMouseDown={handleMouseDownPassword}
                                  edge="end"
                              >
                                  {showPassword ? <VisibilityOff /> : <Visibility />}
                              </IconButton>
                          </InputAdornment>
                      ),
                  }
                : type == "number"
                ? {
                      endAdornment: (
                          <div style={verticalDivStyle}>
                              <IconButton
                                  aria-label="Increment value"
                                  size="small"
                                  onMouseDown={handleUpStepperMouseDown}
                              >
                                  <ArrowDropUpIcon fontSize="inherit" />
                              </IconButton>
                              <IconButton
                                  aria-label="Decrement value"
                                  size="small"
                                  onMouseDown={handleDownStepperMouseDown}
                              >
                                  <ArrowDropDownIcon fontSize="inherit" />
                              </IconButton>
                          </div>
                      ),
                  }
                : undefined,
        [
            type,
            showPassword,
            handleClickShowPassword,
            handleMouseDownPassword,
            handleUpStepperMouseDown,
            handleDownStepperMouseDown,
        ]
    );