GithubHelp home page GithubHelp logo

nrel / eere-application-template-bootstrap-5 Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 0.0 264 KB

EERE Application Template (Bootstrap 5)

Home Page: https://nrel.github.io/EERE-Application-Template-Bootstrap-5/

CSS 59.88% HTML 40.12%

eere-application-template-bootstrap-5's Introduction

The security.txt file was added to meet a new OMB requirement for federal departments/agencies to implement a Vulnerability Disclosure Policy.

EERE Application Style Guide Accessibility Notes

Side/Left Navigation

For navigation links, ensure that the purpose of each link can be determined from the link text alone or from the link together with its programmatically determined link context.

Avoid using the same link text for different destinations, and avoid vague link text like “read more” or “click here.”

https://www.w3.org/TR/UNDERSTANDING-WCAG20/navigation-mechanisms-refs.html

Primary/Extended Color Palette

The minimum color contrast for text against background is 4.5:1 for normal text (under 18 point) and 3:1 for large text (18 point and above).

This requirement does not apply to logos, inactive interface components, or decorative text.

Useful tools for determining color contrast include the Colour Contrast Analyser and WEBAim Contrast Checker. https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html

Header Styles

Headings should describe the topic or purpose of the section.

Heading levels should not be skipped. A heading 1 should be followed by another heading 1 or a heading 2; never a heading 3. https://www.w3.org/TR/UNDERSTANDING-WCAG20/navigation-mechanisms-descriptive.html

Links

For links, ensure that the purpose of each link can be determined from the link text alone or from the link together with its programmatically determined link context.

Avoid using the same link text for different destinations, and avoid vague link text like “read more” or “click here.” https://www.w3.org/TR/UNDERSTANDING-WCAG20/navigation-mechanisms-refs.html

Forms

If possible, forms should not be subject to a time limit to allow users to complete the form at their pace. If a time limit needs to be in place, for example, for security reasons, the user should have the option to turn it off or extend it. All form controls need labels identifying their purposes; this is usually done with the element.

Forms should be grouped using the

and elements. Clear instructions should be provided, explaining how to complete the form and use the controls. User inputs should be validated, and the user should have the ability to undo changes and confirm data entry. Users should be notified of successful data entry and errors, along with instructions on correcting them.

For more information about constructing accessible forms, see these tutorials: https://www.w3.org/WAI/tutorials/forms/ https://www.w3.org/TR/UNDERSTANDING-WCAG20/content-structure-separation-programmatic.html

Tables

Tables should be used to present data; not for formatting. Header cells should have the element, while data cells use .

Complex tables (e.g., with merged cells) may require more involved markup.

For information on creating accessible tables, see these tutorials: w3.org/WAI/tutorials/tables/ https://www.w3.org/TR/UNDERSTANDING-WCAG20/content-structure-separation-programmatic.html

eere-application-template-bootstrap-5's People

Contributors

amyglix avatar shaunlawsnrel avatar

Stargazers

 avatar

Watchers

Damon Haley avatar James Cloos avatar  avatar National Renewable Energy Laboratory avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.