Skip to content

[Google3 Bug]: [Accessibility] RangeSlider does not respond to keyboard focus or interactions #170177

Closed

Description

@devrelm

b/421086668

Related (existing) issue: #53958

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. Attempt to keyboard-navigate to the range slider
  3. Attempt to use arrow keys to adjust range-slider values

Expected results

Keyboard-navigating to the RangeSlider should focus one of the "thumbs", including a visual indicator and VoiceOver/screen-reader announcement.

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

Actual results

Keyboard-navigating to the RangeSlider either does not focus the RangeSlider, or at least does not announce or visually indicate the updated focus.

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. darshankawar commented on Jun 9, 2025

    @darshankawar
    Member

    Thanks for the report. I verified this by running the code on macOS desktop and enabling accessibility, as the issue description mentions keyboard navigation. With keyboard, the slider doesn't move and just switches directly from start point to the end.

    Maybe related to : #114225

    stable : 3.32.2
    master : 3.33.0-1.0.pre.417
    
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)
    and removed
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    in triagePresently being triaged by the triage team
    on Jun 9, 2025
  3. 2 remaining items

  4. hannah-hyj commented on Sep 16, 2025

    @hannah-hyj
    Member

    this should be fixed by #172729 , this is the same issue as internal b/430179234

  5. self-assigned this
    on Sep 16, 2025
  6. added
    r: fixedIssue is closed as already fixed in a newer version
    on Sep 17, 2025
  7. github-actions commented on Oct 1, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: googleVarious Google teamscustomer: quake (g3)found in release: 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: material_uimaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions