The W3C Web Accessibility Initiative (WAI) develops standards and support materials to help you understand and implement accessibility.
This repository is used to develop content for the W3C WAI website.
A Netlify preview is available at https://wai-website.netlify.app/
Before you begin, make sure you have the following installed:
-
Install Ruby dependencies
bundle install
-
Initialize or update submodules
git submodule update --init --recursive
-
Use the latest version of the
wai-website-themeandwai-website-plugindependencies (optional)By default, the project will use the versions of the theme and plugin set in the
Gemfile.lockfile. To use the latest versions, run:bundle update wai-website-theme --conservative bundle update wai-website-plugin --conservative
Note: Make sure to include the
--conservativeflag to avoid updating the gems the theme and plugin depend on. -
Serve and preview
bundle exec jekyll serve
Since 5 September 2024, the default branch is named main, for consistency with other W3C repositories and GitHub default branch name.
If you have an existing fork, you can rename your fork's default branch.
If you have a local clone, you can either delete and re-clone the repository, or update it by running the commands from GitHub documentation.