Comments (1)
Note, from USWDS guidance:
Show file type and size for links to non-HTML content. When possible, create HTML pages instead of linking to files like PDFs. If you do link to a file, tell users ahead of time if the link may trigger a file download, and show the size and format of that file.
We recommend including this information at the end of the link, in the format [FILE_TYPE, SIZE]. We recommend using the file type rather than a product name. Use uppercase for the file type and a comma for the separator. For file size, use the number of pages in the document or the size in MB or KB if the document is not paginated.
Example 1:
GSA published a report, Transforming the American Digital Experience [PDF, 18 pages]
Example 2:
Download the Revised 508 Standards Applicability Checklist [DOCX, 2 pages]
Example 3:
Download the USWDS 2.11.2 Design Kit for Sketch [ZIP, 13.3 MB]
from design-system.
Related Issues (20)
- Sass compilation errors HOT 7
- [Accessibility] Add documentation for adding "Error" to page title HOT 3
- Add a print icon HOT 1
- Tooltips open on touchmove
- Migration Script Error HOT 5
- Inline form errors should indicate they're errors to screen readers HOT 4
- `inputRef` prop being passed into DOM when using <Dropdown /> HOT 6
- [Accessibility] h4 in footer component causes heading order issues HOT 1
- Calendar Picker Component allows for unlimited entry of numbers
- [Accessibility] healthcare.gov logo's svg elements are being read out by VoiceOver HOT 1
- Allow Alerts to take custom icons
- [Accessibility] Footer social icons do not provide an accessible name HOT 3
- Versions of @types/react greater than 18.2.21 cause TypeScript errors
- Spinner does not cover Dialog HOT 6
- Wrong code on NPM for 7.0.7 release HOT 1
- Badge: Add variation that allows the badge to display block HOT 4
- Add more font weights for custom fonts HOT 1
- ChoiceList "hint" states Hints are their own component HOT 3
- Choice List hint wrapping text prematurely
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design-system.