elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.81k stars 8.2k forks source link

[Obs Infrastructure > Host flyout][KEYBOARD]: Focus must be returned when popovers are closed #194963

Open 1Copenut opened 3 months ago

1Copenut commented 3 months ago

Point of contact

@petrklapka

Description

Focus must be returned properly when I close an Inventory popover. Screenshot attached below shows a Hosts flyout but should also be checked for Kubernetes Pods and Docker Containers.

Steps to recreate

  1. Open [Inventory map view](https://keep-serverless-fyzdg-f07c50.kb.eu-west-1.aws.qa.elastic.cloud/app/metrics/inventory?waffleFilter=(expression:%27%27,kind:kuery)&waffleTime=(currentTime:1719586217646,isAutoReloading:!f)&waffleOptions=(accountId:%27%27,autoBounds:!t,boundsOverride:(max:1,min:0),customMetrics:!(),customOptions:!(),groupBy:!(),legend:(palette:cool,reverseColors:!f,steps:10),metric:(type:cpu),nodeType:host,region:%27%27,sort:(by:name,direction:desc),timelineOpen:!f,view:map)&inventoryViewId=%270%27&assetDetailsFlyout=(assetType:host,detailsItemId:instance-995-2)&assetDetails=(autoRefresh:(interval:5000,isPaused:!t),dateRange:(from:%272024-06-28T13:50:17.646Z%27,to:%272024-06-28T14:50:17.646Z%27),logsSearch:%27%27,name:instance-995-2,tabId:metrics))
  2. Click or press one of the map tiles
  3. Press TAB to settle focus on the first ? icon. Press Enter to open the popover.
  4. Press ESC to close the popover
  5. Press TAB again to verify the ? icon does not have keyboard focus

Environment

Screenshots or Trace Logs

Screenshot 2024-06-28 at 10 08 55 AM

WCAG or Vendor Guidance (optional)

roshan-elastic commented 2 months ago

Thanks for the excellent descriptions for these issues...prioritised in our top 20