egui/crates/egui_kittest/tests/snapshots
lucasmerlin e32ca218e8
Add `WidgetType::Image` and `Image::alt_text` (#5534)
This adds `WidgetType::Image` and correctly sets it in the Image widget.
This allows us to query for images in kittest tests and tells accesskit
that a node is an image.
It also adds `Image::alt_text` to set a text that will be shown if the
image fails to load and will be read via screen readers. This also
allows us to query images by label in kittest.


* [x] I have followed the instructions in the PR template

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2024-12-30 12:53:46 +01:00
..
image_snapshots.png Add `WidgetType::Image` and `Image::alt_text` (#5534) 2024-12-30 12:53:46 +01:00
readme_example.png Simplify kittest readme example (#5486) 2024-12-16 18:02:21 +01:00
test_shrink.png Add `Harness::new_ui`, `Harness::fit_contents` (#5301) 2024-11-01 18:30:40 +01:00