Add WCAG 2.2 AAA compliance and automated AT-SPI audit tool

This commit is contained in:
2026-03-01 12:44:21 +02:00
parent 817ecf67be
commit 5c99f3eb77
23 changed files with 2758 additions and 472 deletions

View File

@@ -142,7 +142,7 @@ pub fn show_duplicate_dialog(
removed_count += 1;
}
if removed_count > 0 {
toast_confirm.add_toast(adw::Toast::new(&ni18n_f(
toast_confirm.add_toast(widgets::info_toast(&ni18n_f(
"Removed {count} item",
"Removed {count} items",
removed_count as u32,
@@ -270,7 +270,7 @@ fn build_group_widget(
db_ref.remove_appimage(record_id).ok();
// Update UI
btn.set_sensitive(false);
toast_ref.add_toast(adw::Toast::new(&i18n_f("Removed {name}", &[("{name}", &record_name)])));
toast_ref.add_toast(widgets::info_toast(&i18n_f("Removed {name}", &[("{name}", &record_name)])));
});
row.add_suffix(&delete_btn);