mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
a11y: Don't create a parent loop for quick settings sliders
Rather than returning the parent container of the slider, which presents itself as the slider, return the parent of the slider container. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6686 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2762>
This commit is contained in:
parent
27ffc37668
commit
a5cf08ac55
1 changed files with 4 additions and 1 deletions
|
|
@ -323,7 +323,10 @@ var QuickSlider = GObject.registerClass({
|
|||
});
|
||||
box.add_child(sliderBin);
|
||||
|
||||
sliderBin.set_accessible(this.slider.get_accessible());
|
||||
// Make the slider bin transparent for a11y
|
||||
const sliderAccessible = this.slider.get_accessible();
|
||||
sliderAccessible.set_parent(sliderBin.get_parent().get_accessible());
|
||||
sliderBin.set_accessible(sliderAccessible);
|
||||
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