Skip to content
ShannonTucker edited this page Nov 25, 2021 · 38 revisions

Welcome to the DECD-Design-System wiki!

Articles

Styles

Type

Components

Templates

Testing Documentation

Useful Links

React testing overview

React Testing Library documentation

Jest documentation

Accessibility Documentation

Useful Links

ESDC / IT Accessibility Office Resources

Insight on developing accessible libraries

Axe overview

Comparison between Axes an other web browser tools

Screen Reader Tools for testing different browsers

Helpful Commands for Screen Reader Testing

Code Review Helpful Tips

Based on "How to Do Code Reviews Like a Human" by Michael Lynch

  1. Give code examples - leave a code snippet as a comment or create a branch off of their feature branch
  2. Avoid "you" - critique the code not the person, use language like "we", "should be", "could be", "how about"
  3. Avoid commands - use language that frames feedback as a request and starts a conversation or discussion like "can we?", "could this be?", there's no one right way to write code
  4. Give context - provide background or supporting knowledge when possible
  5. Give praise - recognize good work
  6. Limit feedback on repeated patterns - if the same error occurs more then once, point it out in one or two spots and ask the author to fix the pattern
  7. Respect the scope - if the changelist doesn't touch the line, it's out of scope unless the changelist affects surrounding code