quick-toggle: Make the subtitle the a11y description of the toggle
By doing that, more info is read by default, like the connected bluetooth device and likely more. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3484>
This commit is contained in:
parent
58f8987c07
commit
9fc5396742
@ -104,6 +104,7 @@ export const QuickToggle = GObject.registerClass({
|
||||
x_align: Clutter.ActorAlign.START,
|
||||
x_expand: true,
|
||||
});
|
||||
this.get_accessible().add_relationship(Atk.RelationType.DESCRIBED_BY, this._subtitle.get_accessible());
|
||||
|
||||
const titleBox = new St.BoxLayout({
|
||||
y_align: Clutter.ActorAlign.CENTER,
|
||||
|
Loading…
x
Reference in New Issue
Block a user