Your Report
The Your Report box gives users of accessibility reporting applications an overview of how far along they are in their current process.
Used by
This component is used by:
Code
Embedding your report:
{% include your-report.html
description="Reported on 8 of 52 Level A, AA Success Criteria."
heading_before="Report for"
heading="GreatCMS"
%}
Making it work
Add some JavaScript to make the show/hide button do this:
- toggle
your-report--expanded
class (it should be on when this is expanded, it should be left out if not) - toggle all content besides the show hide button (there should only be other content if it is expanded)
Parameters
heading=""
- Heading that describes the current report, for instance, the name of the website or application being reported on.
heading_before=""
- Text that goes before the heading, for instance “Report for”.
description=""
- A real time description of the current status of the report, for instance, “Reported on 8 of 52 Level A, AA Success Criteria.”.