You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new addition of Menu and Menu buttons documentation on the website, parts of the Disclosure pattern documentation are now outdated and need to be updated with new information to be more accurate.
What is a disclosure pattern, and what isn't?
Let's be more clear with our guidelines around what is considered to be a disclosure pattern.
For example: A disclosure pattern is something that is always disclosed by the user.
For example: A disclosure can consist of a trigger + popover OR a trigger + menu. These are considered to be disclosures.
This pattern should help guide user's to decide which type of disclosure to use for their usecases in product.
We need to determine if this pattern is still needed or if it makes sense to continue to iterate on it.
Define rules
Define rules around which components in our system are considered disclosure type patterns and which ones are not.
ARE disclosures: Menus, Dropdowns, Tooltips, and Toggletips
ARE NOT disclosures: Modals, Tearsheets, Megamenus, Accordions, Multi-line Code Snippet, Expandable Tiles, and Notifications.
We need to explain why these are not considered to be disclosures in our docs. Many reasons for this have to do with displacement and persistence.
Create guidelines
Label treatment
What is the label treatment of the trigger? Sometimes, the label needs to be explicit above the component that triggers it (like a dropdown), or it could be in a tooltip on hover if it is an icon button. Cover the most common situations for this.
Focus treatment and behavior
Where does Focus typically go in disclosures, whether on the trigger or within the area that is disclosed to the user?
Think about if the focus behavior automatically moves into the disclosed area (like menus) or if it needs to manually be moved by the user with a keyboard (like toggletips).
Persistence
Once information is disclosed, the information persists until the user dismisses it by either clicking on the page or on the trigger again.
Displacement
Things considered not to be disclosures are usually full-page takeovers like modals or tearsheets, which obscures the disclosure trigger which needs to still be available to dismiss it.
Things considered not to be disclosures typically push down content when disclosed on the same level of the page instead of overlaying content on a separate layer.
Proximity
Show the different ways of how the disclosed information, in a popover or menu container, for example, is closely related to the trigger. Sometimes, this could be a no tip, caret tip, or tab tip situation. Explain when to use one over the other.
The content you are editing has changed. Please copy your edits and refresh the page.
Update disclosure pattern docs
With the new addition of Menu and Menu buttons documentation on the website, parts of the Disclosure pattern documentation are now outdated and need to be updated with new information to be more accurate.
What is a disclosure pattern, and what isn't?
Let's be more clear with our guidelines around what is considered to be a disclosure pattern.
trigger + popover
OR atrigger + menu
. These are considered to be disclosures.We need to determine if this pattern is still needed or if it makes sense to continue to iterate on it.
Define rules
Define rules around which components in our system are considered disclosure type patterns and which ones are not.
ARE disclosures: Menus, Dropdowns, Tooltips, and Toggletips
ARE NOT disclosures: Modals, Tearsheets, Megamenus, Accordions, Multi-line Code Snippet, Expandable Tiles, and Notifications.
Create guidelines
Label treatment
Focus treatment and behavior
Persistence
Displacement
Proximity
Tasks
The text was updated successfully, but these errors were encountered: