Skip to content

[Google3 Bug]: [Accessibility] RangeSlider does not respond to keyboard interactions #179638

Open

Description

@devrelm

b/421086668

This is a continuation of #170177, which was closed after #172729 was submitted, but before the keyboard-interactions portion of the issue was addressed.

Help us understand the severity of this issue

  • causing severe production issues e.g. malfunctions or data loss
  • blocking next binary release
  • blocking a client feature launch within a quarter
  • nice-to-have but does not block a launch within the next quarter

Steps to reproduce

  1. Add a RangeSlider to the screen
  2. Keyboard-navigate to the range slider
  3. Attempt to use arrow keys to adjust range-slider values

Expected results

Interacting with the RangeSlider using the keyboard's arrow keys should adjust the value of the currently-selected thumb.

Actual results

Interacting with the RangeSlider is impossible to do with the keyboard's arrow keys.

Code sample

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(RangeSliderDemo());
}

class RangeSliderDemo extends StatefulWidget {
  @override
  State<RangeSliderDemo> createState() => _RangeSliderDemoState();
}

class _RangeSliderDemoState extends State<RangeSliderDemo> {
  late RangeValues _rangeValues;

  @override
  void initState() {
    super.initState();
    // Make sure the initial range values are within the possible range.
    _rangeValues = RangeValues(0, 10);
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: RangeSlider( 
          min: 0,
          max: 10,
          values: _rangeValues,
          onChanged: (RangeValues values) => setState(() => _rangeValues = values),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Activity

  1. tirth-patel-nc commented on Dec 10, 2025

    @tirth-patel-nc
    Member

    Thanks for the report. Seeing the same behaviour with latest SDK versions.

    stable : 3.38.4
    master : 3.40.0-1.0.pre-105
    
    Screen.Recording.2025-12-10.at.4.16.04.PM.mov

    #173574 might be related.

  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)
    f: focusFocus traversal, gaining or losing focus
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    p: material_uimaterial_ui package in flutter/packages
    team-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)
    and removed
    in triagePresently being triaged by the triage team
    on Dec 10, 2025
  3. added
    P2Important issues not at the top of the work list
    on Dec 10, 2025
  4. devrelm commented on Dec 11, 2025

    @devrelm
    Author

    APG behavior https://www.w3.org/WAI/ARIA/apg/patterns/slider/

    More specifically, the multi-thumb slider: https://www.w3.org/WAI/ARIA/apg/patterns/slider-multithumb/ — though the keyboard interaction for a given thumb is better described on page for the single-thumb Slider that @chunhtai linked to.

  5. chunhtai commented on Dec 11, 2025

    @chunhtai
    Contributor

    thanks for the new link.

    Also FYI, the API to set valueMax and valueMin are going to be added in #178402

  6. xxxOVALxxx commented on Jan 25, 2026

    @xxxOVALxxx
    Contributor

    It seems that switching focus to another element and back to RangeSlider solves the problem

    Screen.Recording.2026-01-26.at.04.11.11.mov
  7. removed their assignment
    on Jan 30, 2026
  8. added
    packageflutter/packages repository. See also p: labels.
    and removed
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: googleVarious Google teamsf: focusFocus traversal, gaining or losing focusfound in release: 3.38Found to occur in 3.38found in release: 3.40Found to occur in 3.40has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: material_uimaterial_ui package in flutter/packagespackageflutter/packages repository. See also p: labels.team-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions