mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
quickSettings: Fix slider accessibility
Since we put the actual slider into a bin to get a proper focus indication, the slider isn't focused anymore and its accessible object is therefore invisible to the screen reader. Fix this by passing the slider's accessible object to the actor that takes the focus. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2431>
This commit is contained in:
parent
0b45bc87c0
commit
b7d738dfff
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ var QuickSlider = GObject.registerClass({
|
|||
});
|
||||
box.add_child(sliderBin);
|
||||
|
||||
sliderBin.set_accessible(this.slider.get_accessible());
|
||||
sliderBin.connect('event', (bin, event) => this.slider.event(event, false));
|
||||
|
||||
this._menuButton = new St.Button({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue