Repository navigation
Question: what is purpose of the circle around the menu "burger" when using a mobile devcie / companion app? #55477
|
I hope this is an acceptable place for this question. I noticed the occasional appearance of a circle around the menu "burger" when I access HA from a mobile device. This happens when I select the same menu item that was being displayed. This is not a problem -- I just don't know what the circle is supposed to communicate! |
Replies: 2 comments
|
From the screenshots, that looks like the menu button's focus outline: it identifies the control that currently has focus, which is useful for keyboard and other non-touch navigation. The outline itself doesn't communicate a temperature/history state or an unread notification. The current frontend's Selecting an already displayed menu item and then seeing the outline is consistent with focus remaining on, or returning to, the menu toggle. I haven't reproduced that precise focus-return sequence in your iOS app/frontend version, so that part is an inference from your description. A way to distinguish it is to move focus to another control with a connected keyboard: the focus indication should move with it. Its appearance is an accessibility affordance; it doesn't require clearing a warning or changing a dashboard setting. Screenshot and current source checked with Codex; not tested on your device. |
|
Thank you! That makes sense. Armed with that idea I could use google's AI search to reach a similar explanation. It also provided yaml that might hide the ring. I might try that! Seems like a bug, but there is no need to redraw the screen when I select the menu item already being displayed, so I guess it makes sense that the ring stays visible. It's particularly noticable on my mobile device because the ring/hamburger is covered up when the menu is displayed, so I only see the ring after I have re-selected a menu item. |


From the screenshots, that looks like the menu button's focus outline: it identifies the control that currently has focus, which is useful for keyboard and other non-touch navigation. The outline itself doesn't communicate a temperature/history state or an unread notification.
The current frontend's
ha-menu-buttonrenders an ordinaryha-icon-button. Its notification indicator is a separate small.dot, rather than an outline around the hamburger. The underlying button's focus styling explicitly draws--wa-focus-ringfor.button:focus-visible.Selecting an already displayed menu item and then seeing the outline is consistent with focus remaining on, or returning to, the menu toggle. I haven…