mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Remove native screen reader support (#2669)
* Remove native screen reader support Use the "accesskit" feature flag to `eframe` instead. [AccessKit](https://github.com/AccessKit/accesskit) is the future. `tts` was a mess to compile on many platforms, so I no longer want the native `tts` dependency. * Update tts to 0.25 * Update changelogs * Turn on all feature flags for package.metadata.docs.rs * remove tts from deny.toml skip-tree * Update web build scripts * Update deny.toml
This commit is contained in:
@@ -130,6 +130,8 @@ impl BackendPanel {
|
||||
|
||||
ui.separator();
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
#[cfg(feature = "web_screen-reader")]
|
||||
{
|
||||
let mut screen_reader = ui.ctx().options(|o| o.screen_reader);
|
||||
ui.checkbox(&mut screen_reader, "🔈 Screen reader").on_hover_text("Experimental feature: checking this will turn on the screen reader on supported platforms");
|
||||
|
||||
Reference in New Issue
Block a user