Add WCAG 2.2 AAA compliance and automated AT-SPI audit tool
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user