Understanding
Invisible controls are a common design pattern used in modern web and application design, where buttons or other clickable content are visually hidden until a user's mouse or keyboard focus enters a specific region of the page. When the user interacts with this region, the hidden content is revealed. These are sometimes referred to as “ghost buttons” or “hover to discover” buttons.
Invisible controls can negatively affect users with various disabilities. People with cognitive disabilities may not know what actions are available to them when looking at the page. Those with mobility impairments, such as users who rely on keyboards, alternative pointing devices, or voice input, may find it difficult or impossible to interact with these controls.
Invisible controls in Horizon
Horizon supports this design technique and users with accessibility needs by:
- Offering an end-user preference that allows users to choose to always make all controls visible
- Defining patterns for where and when Invisible Controls may be used
- Providing guidance for hiding and showing invisible controls in a way accessible for keyboard and screen reader users
Patterns for appropriate usage
When using Invisible Controls in your implementations, ensure that they align with these use cases to maintain consistency and accessibility across the platform.
Design Considerations
It is important to ensure that you consider how a design will work when controls are invisible, only appearing on hover or focus. Additionally, consider how a design will work when all controls are visible. For instance, you’ll want to ensure content does not overlap, shift, or cause any other visual issues.
This approach allows designers to continue using this common pattern with minimal restrictions while giving end-users the ability to choose their preferred experience.