Add accessible labels to sliders and watermark position grid

This commit is contained in:
2026-03-06 13:51:01 +02:00
parent f5d55167fb
commit b54e0545b0
3 changed files with 15 additions and 0 deletions

View File

@@ -120,6 +120,9 @@ pub fn build_watermark_page(state: &AppState) -> adw::NavigationPage {
.halign(gtk::Align::Center)
.build();
grid_frame.set_child(Some(&grid));
grid_frame.update_property(&[
gtk::accessible::Property::Label("Watermark position grid. Select where the watermark appears on the image."),
]);
let mut first_button: Option<gtk::ToggleButton> = None;
let buttons: Vec<gtk::ToggleButton> = position_names.iter().enumerate().map(|(i, name)| {