Files
vectorcraft/crates/ui-egui/tests
dotCooCoo 5044b75ccf Info panels: empty readouts offer no Copy action
A panel readout that cannot be copied (an empty value, a disabled row or
a value clipped out of view) still told screen readers it had a Copy
action, and the action did nothing. An empty Link Info row, such as
Color Space for a placed document, showed it. The Copy description and
click action are now added only when a click on the value would copy.

New tests in panel_readout_copy.rs:

- empty_link_info_values_do_not_offer_copy: the empty Color Space row of
  a placed .vectorcraft link has no Copy action, and a forged click on it
  copies nothing.
- info_readout_copy_requires_the_press_and_release_inside_its_bounds: on
  the Info panel's W readout, a press outside followed by a release
  inside copies nothing, with the release in the same frame or the next.
- link_info_stays_visible_while_a_long_image_list_scrolls: with 32 images
  in each thumbnail size, Link Info stays in place and copyable while
  the list scrolls to its end.

Follows #8826 by @yoriswind.
2026-11-28 00:38:02 -08:00
..