zonemaster-gui icon indicating copy to clipboard operation
zonemaster-gui copied to clipboard

Close history modal

Open hannaeko opened this issue 1 year ago • 0 comments

Purpose

No indication (visual or not) are given to the user to signal that the new test results have been fetched.

Context

Fixes #242

Changes

Close the history modal when a link is clicked and move focus to the result heading (h2).

Limitation (maybe future work) : if the result request takes some time the focus would be moved to the old title and there would not be a indication when the new results have been received.

How to test this PR

(Better to test with a screen reader)

  • Open the history
  • Tab to a test link
  • Press enter
  • The history modal should close itself and the focus should be move the title (containing the domain name and being described by the creation time)

hannaeko avatar Feb 27 '24 17:02 hannaeko