• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An automated website accessibility scanner and cli

Lumberjack

Chop down accessibility issues with this full-website accessibility scanner

Woman in winter attire standing with an ax next to a tree

About

Lumberjack runs axe accessibility checks on your entire website!

  • Reads your website's sitemap
  • Spawns multiple browser instances and starts scanning with axe
  • Aggregates results and reports back

    Screenshot of lumberjack in action. Print the individual accessibility issues found in an example

Usage

CLI

NPX (recommended for a single run)

npx @jakepartusch/lumberjack --url https://google.com

Global Install (recommended for multiple runs)

npm install -g @jakepartusch/lumberjack
lumberjack --url https://google.com

Options

--url         // Required β€” The base url to scan. If a sitemap exists, its pages will be scanned as well
--strict      // Optional (default: false) β€” Fail the process if any accessibility issues are found
--baseUrlOnly // Optional (default: false) β€” Skip the sitemap scan and only run the audit on the base url

JavaScript

npm install @jakepartusch/lumberjack
const lumberjack = require('@jakepartusch/lumberjack');

const myFunction = async () => {
  const results = await lumberjack("https://google.com");
  console.log(results);
}

Continuous Integration

GitHub Actions Example (eg. ".github/workflows/accessibility.yml")

name: Accessibility Audits

on: [push]

jobs:
  build:
    runs-on: ubuntu-18.04

    steps:
      - uses: actions/checkout@v1
      - name: Install required Linux packages
        run: |
          sudo apt-get update
          sudo apt-get install libgbm-dev
          sudo apt-get install xvfb
      - name: Use Node.js 12.x
        uses: actions/setup-node@v1
        with:
          node-version: 12.x
      - name: Install npm packages
        run: |
          npm ci
      - name: Build
        run: |
          npm run build
      - name: Accessibility Audits
        run: |
          npm install -g @jakepartusch/lumberjack
          xvfb-run --auto-servernum lumberjack --url https://google.com

More Repositories

1

serverlessui

A command-line utility for deploying serverless applications to AWS. Complete with custom domains, deploy previews, TypeScript support, and more.
TypeScript
543
star
2

psi-action

A GitHub action that utilizes Google's Page Speed Insights to generate a performance report
JavaScript
80
star
3

fantasy-tools

A suite of tools for fantasy football players
CSS
48
star
4

wait-for-netlify-action

A GitHub action that will wait until a Netlify Preview deploy has completed before continuing on
JavaScript
47
star
5

lighthouse-as-a-service

A quick way to integrate Lighthouse performance checks into your pipeline without a Chromium dependency
JavaScript
12
star
6

serverlessui-advanced-example

An example of using the Serverless UI CDK constructs to deploy a React, GraphQL application with DynamoDB
TypeScript
12
star
7

spring-boot-protobuf-example

Simple Application to demo the use of Protocol Buffers alongside JSON
Java
8
star
8

notlify

Notlify is an open source Netlify "clone" built on AWS
TypeScript
7
star
9

garmin-node-api

A simple node abstraction for gathering Garmin data
JavaScript
7
star
10

jake.partus.ch

My personal webpage
JavaScript
4
star
11

gatsby-theme-contentful-gallery

A Gatsby theme to display a Contentful gallery
JavaScript
4
star
12

jamstore

An example of using Jamstack technologies to build an online store
JavaScript
2
star
13

fantasy-football-power-rankings-api

Google Cloud Function to retrieve fantasy football power rankings data
JavaScript
2
star
14

slack-retrieve-message-history

JavaScript
1
star
15

craigslist-vehicle-tracker

An application that sends notifications when a desired vehicle is found on craigslist
JavaScript
1
star
16

food-drive-slack-bot

JavaScript
1
star
17

gatsby-cloud-snipcart-example

This repository was created by Gatsby Cloud
CSS
1
star
18

get-espn-user-fantasy-teams

https://us-central1-fantasyfootballpowerrankings.cloudfunctions.net/get-espn-user-fantasy-teams
JavaScript
1
star
19

mdx-deck-theme

MDX Deck Theme for Object Partners
JavaScript
1
star
20

gatsby-auth0-serverless-example

A todo application built with Gatsby, and the Serverless Framework, using Auth0 for security.
JavaScript
1
star
21

s3-file-upload

JavaScript
1
star
22

partusch-cms

An Expo app for personal Contentful management
JavaScript
1
star
23

chatbot-slides

MDX powered slides for a presentation on chatbots
HTML
1
star