Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📄 Add license header #101

Merged
merged 3 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Jupyter Book
# Jupyter Book
_build

# Byte-compiled / optimized / DLL files
Expand Down Expand Up @@ -131,3 +131,6 @@ reports/

# mac
.DS_Store

# editor
.vscode
3 changes: 3 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

image: quansight/jupyter-a11y:latest

tasks:
Expand Down
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

version: 2

python:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2019, Project Jupyter
Copyright (c) 2019, Project Jupyter Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Project Jupyter Accessibility Working Group
# Jupyter Accessibility

Welcome to the GitHub repository for the accessibility working group of [Project Jupyter](https://jupyter.org/).
This group was formed in early 2019. Its goal is to gather stakeholders interested in working to make Jupyter's
Expand All @@ -12,6 +12,9 @@ These core user-facing software include:

**Important notice: as of March 2019 this software is not accessible.** Significant work will be required to reach that goal.

> **Note**
> As from June 2022 this project is an official Software Subproject as per [Jupyter Governance](https://jupyter.org/governance/software_subprojects.html)

If you are trying to use Jupyter tools with assistive technology now, you may be able to get basic support with the following:

- [Jupyter Notebook a11y toolbar](https://github.com/uclixnjupyternbaccessibility/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/accessibility_toolbar) (from Microsoft research)
Expand Down
8 changes: 6 additions & 2 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

title: Jupyter Accessibility
copyright: 2021-2022, Jupyter Team
author: Jupyter Team
exclude_patterns: [.nox, source, meeting-minutes/jupyterlab-accessibility-meetings/20*.md]
exclude_patterns:
[.nox, source, meeting-minutes/jupyterlab-accessibility-meetings/20*.md]
only_build_toc_files: true
logo: docs/_static/logo.png
html:
favicon: docs/_static/favicon.ico
favicon: docs/_static/favicon.ico
29 changes: 16 additions & 13 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

format: jb-book
root: README.md
chapters:
- file: docs/statement.md
- file: docs/community/information.rst
- file: docs/funding/README.md
- file: docs/developer/README.md
sections:
- file: CONTRIBUTING.md
- file: ARCHITECTURE.md
- file: docs/resources/README.md
sections:
- file: docs/resources/team_guides.rst
- file: docs/resources/map-jupyterlab-frontend-architecture/README.md
- file: docs/community/meeting-minutes/lumino/walkthrough-phosphor-prs.md
- file: docs/community/meeting-minutes/2019-web4all-hackathon/hackathon-resources.md
- file: docs/statement.md
- file: docs/community/information.rst
- file: docs/funding/README.md
- file: docs/developer/README.md
sections:
- file: CONTRIBUTING.md
- file: ARCHITECTURE.md
- file: docs/resources/README.md
sections:
- file: docs/resources/team_guides.rst
- file: docs/resources/map-jupyterlab-frontend-architecture/README.md
- file: docs/community/meeting-minutes/lumino/walkthrough-phosphor-prs.md
- file: docs/community/meeting-minutes/2019-web4all-hackathon/hackathon-resources.md
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

jupyter-book
3 changes: 3 additions & 0 deletions dodo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

"""doit for interactive testing of accessibility in Jupyter
"""
import hashlib
Expand Down
3 changes: 3 additions & 0 deletions jupyter_accessibility/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

"__init__.py"

from .dodo import Main
3 changes: 3 additions & 0 deletions jupyter_accessibility/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

from .dodo import Main

main = Main.run
Expand Down
3 changes: 3 additions & 0 deletions jupyter_accessibility/dodo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

from pathlib import Path
from shutil import copytree

Expand Down
2 changes: 2 additions & 0 deletions jupyter_accessibility/jupyter-axe/jupyter_server_config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Distributed under the terms of the Modified BSD License.

from tempfile import mkdtemp

# These settings modeled after https://github.com/jupyterlab/jupyterlab/blob/%40jupyterlab/galata%404.0.2/galata/jupyter_server_test_config.py
Expand Down
3 changes: 3 additions & 0 deletions jupyter_accessibility/jupyter-axe/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

// playwright.config.ts
import galataConfig from "@jupyterlab/galata/lib/playwright-config";
import { PlaywrightTestConfig, devices } from "@playwright/test";
Expand Down
3 changes: 3 additions & 0 deletions jupyter_accessibility/jupyter-axe/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

matplotlib
ipywidgets
IPython
Expand Down
3 changes: 3 additions & 0 deletions jupyter_accessibility/project.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

"""tasks for building jupyterlab applications

it currently builds lumino and jupyterlab.
Expand Down
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

from contextlib import suppress
from pathlib import Path

Expand Down
12 changes: 5 additions & 7 deletions pa11y-jupyter/serve.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

""" a minimal static server, primarily for performing audits

************************* DO NOT USE IN PRODUCTION *************************
Expand All @@ -11,7 +14,6 @@
- `autoreload` is enabled for convenient modification of the test
infrastructure, and to help verify in logs that the system-under-test is
not changing.

- `compress_response` is enabled to reduce false positives from auditing
tools which expect "production" deployments, difficult to achieve and
secure on a desktop computer.
Expand All @@ -21,9 +23,7 @@
from tornado import ioloop, web, options

options.define("port", default=8080, help="port to listen on")
options.define(
"host", default="127.0.0.1", help="host interface to connect on (0.0.0.0 is all)"
)
options.define("host", default="127.0.0.1", help="host interface to connect on (0.0.0.0 is all)")
options.define("path", help="the files to serve")

SETTINGS = dict(
Expand Down Expand Up @@ -76,6 +76,4 @@ def main(path, port, host):

if __name__ == "__main__":
options.parse_command_line()
main(
path=options.options.path, port=options.options.port, host=options.options.host
)
main(path=options.options.path, port=options.options.port, host=options.options.host)
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
[tool]

[tool.setuptools_scm]
write_to = "jupyter_accessibility/_version.py"
version_scheme = "release-branch-semver"
Expand All @@ -7,6 +10,7 @@ local_scheme = "node-and-timestamp"
[tool.doit]
backend = "json"
verbosity = 2

[tool.doit.commands.list]
status = true
subtasks = true
Expand All @@ -16,6 +20,7 @@ profile = "black"

[tool.black]
line_length = 100

[tool.pytest.ini_options]
addopts = "--nbval --sanitize-with docs/sanitize.cfg -pno:warnings --cov=schemin"

Expand Down
3 changes: 3 additions & 0 deletions repos.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

# these are some repos we want to check out and test against.
# these aren't submodules, so that they can be easily updated from the web UI

Expand Down
3 changes: 3 additions & 0 deletions repos.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

# these are some repos we want to check out and test against.
# these aren't submodules, so that they can be easily updated from the web UI
repos:
Expand Down
3 changes: 3 additions & 0 deletions testing/jupyterlab/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

name: a11y-tests
channels:
- conda-forge
Expand Down
3 changes: 3 additions & 0 deletions testing/jupyterlab/jupyter_server_config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

from tempfile import mkdtemp

# These settings modeled after https://github.com/jupyterlab/jupyterlab/blob/%40jupyterlab/galata%404.0.2/galata/jupyter_server_test_config.py
Expand Down
3 changes: 3 additions & 0 deletions testing/jupyterlab/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

// playwright.config.ts
import galataConfig from "@jupyterlab/galata/lib/playwright-config";
import { PlaywrightTestConfig, devices } from "@playwright/test";
Expand Down
3 changes: 3 additions & 0 deletions testing/jupyterlab/tests/axe-violations.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

import { expect } from "@playwright/test";
import { test } from "@jupyterlab/galata";
import * as path from "path";
Expand Down
3 changes: 3 additions & 0 deletions testing/jupyterlab/tests/tab-loop-no-trap.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

/**
* This test checks whether a user, starting from the top and only pressing the
* tab key, can tab through the entire app and return to where they started.
Expand Down