Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Add how to progressively reveal content #534

Closed
2 tasks done
kelliedesigner opened this issue Jan 23, 2019 · 6 comments · Fixed by #733
Closed
2 tasks done

Add how to progressively reveal content #534

kelliedesigner opened this issue Jan 23, 2019 · 6 comments · Fixed by #733

Comments

@kelliedesigner
Copy link
Contributor

kelliedesigner commented Jan 23, 2019

As a user of the Design System,
I want to know how to provide content which can be revealed
So that there is consistency across products

Acceptance Criteria

  • Research usability and accessibility of progressively revealing content
  • Add guidance into the Design System
@kelliedesigner
Copy link
Contributor Author

kelliedesigner commented Jan 23, 2019

GOV.UK Design System - Details component

  • Make a page easier to scan
  • Letting users reveal more detailed information
  • Include information that only some users will need
  • Do not use to hide information that the majority of users will need
  • Make the link text short and descriptive so users can quickly work out if they need to reveal it

screen shot 2019-01-24 at 13 14 06

@kelliedesigner
Copy link
Contributor Author

kelliedesigner commented Jan 23, 2019

The 'details' element provides a good user experience with minimal html and can be styled.

'Summary' can be included for the link text.

screen shot 2019-03-07 at 06 59 32

Working example, click 'System requirements' below.

System Requirements

Requires a computer running an operating system. The computer must have some memory and ideally some kind of long-term storage. An input device as well as some form of output device is recommended.

@kelliedesigner
Copy link
Contributor Author

kelliedesigner commented Jan 24, 2019

NN Group - Progressive Disclosure

  • It must be obvious how users progress from the primary to the secondary disclosure levels
  • Make the mechanics of this operation simple
  • Label the button or link in a way that sets clear expectations for what users will find when they progress to the next level (strong information scent)

@kelliedesigner
Copy link
Contributor Author

kelliedesigner commented Jan 24, 2019

GOV.UK - Github issue on Details

  • From an accessibility point of view, they are not treated as links by screen readers assistive technology so the experience is totally different.
  • Since we're using plus and minus in the Accordion component, I thought I'd see how Details would look with the same symbols, as the behaviour is very similar:
    46947139-caf90780-d071-11e8-9653-36542dace1a4

@kelliedesigner kelliedesigner changed the title Add details (show/hide, progressive content reveal) Add details (show/hide, progressive disclosure) Jan 24, 2019
@jeddy3 jeddy3 changed the title Add details (show/hide, progressive disclosure) Add how to progressive disclosure content (e.g. Details) Feb 8, 2019
@kelliedesigner kelliedesigner changed the title Add how to progressive disclosure content (e.g. Details) Add how to progressively disclose content Mar 7, 2019
@kelliedesigner kelliedesigner changed the title Add how to progressively disclose content Add how to progressively reveal content Mar 7, 2019
@olimj
Copy link
Contributor

olimj commented Mar 13, 2019

The 'details' element provides a good user experience with minimal html and can be styled.

'Summary' can be included for the link text.

screen shot 2019-03-07 at 06 59 32

Working example, click 'System requirements' below.

System Requirements

Other Mozilla example doesn't seem to use a pointer cursor: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

@olimj
Copy link
Contributor

olimj commented Mar 13, 2019

Cursors on the details element

HTML example doesn't use a pointer cursor either: https://html.com/tags/details/

  • Without any CSS, the cursor seems to use the text cursor on the details element.
  • Considering this element is interactive, the text cursor doesn't 'feel' right.
  • Could we use a default or pointer cursor to indicate an interaction?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants