Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
test:
name: Test
uses: github/ariaNotify-polyfill/.github/workflows/test.yml@main
uses: github/arianotify-polyfill/.github/workflows/test.yml@main
secrets: inherit
publish-npm:
needs: [test]
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Contributing

[fork]: https://github.com/github/ariaNotify-polyfill/fork
[pr]: https://github.com/github/ariaNotify-polyfill/compare
[fork]: https://github.com/github/arianotify-polyfill/fork
[pr]: https://github.com/github/arianotify-polyfill/compare

Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ariaNotify-polyfill
# arianotify-polyfill

Polyfill for the [ARIA Notification API](https://github.com/WICG/accessible-notifications/blob/main/README.md)

Expand All @@ -15,13 +15,13 @@ In browsers where `ariaNotify` is supported it will emit a notification event. I
This is only meant to be used in a browser context. It should not be used on the server. To install this you will likely need `npm`.

```sh
$ npm i @github/ariaNotify-polyfill
$ npm i @github/arianotify-polyfill
```

In your JavaScript you can introduce the polyfill using a "bare" import:

```js
import "@github/ariaNotify-polyfill"
import "@github/arianotify-polyfill"
```

Then continue to use `ariaNotify` as if it were supported everywhere. A small contrived example:
Expand Down
6 changes: 3 additions & 3 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Support
# Support

## How to file issues and get help

This project uses GitHub issues to track bugs and feature requests. Please search the existing issues before filing new issues to avoid duplicates. For new issues, file your bug or feature request as a new issue.

For help or questions about using this project, please reach out [on the discussions page](https://github.com/github/ariaNotify-polyfill/discussions).
For help or questions about using this project, please reach out [on the discussions page](https://github.com/github/arianotify-polyfill/discussions).

ariaNotify-polyfill is under active development and maintained by GitHub staff **AND THE COMMUNITY**. We will do our best to respond to support, feature requests, and community questions in a timely manner.
arianotify-polyfill is under active development and maintained by GitHub staff **AND THE COMMUNITY**. We will do our best to respond to support, feature requests, and community questions in a timely manner.

## GitHub Support Policy

Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion examples/ariaNotify-polyfill.js

This file was deleted.

1 change: 1 addition & 0 deletions examples/arianotify-polyfill.js
6 changes: 3 additions & 3 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1>ariaNotify Polyfill Examples</h1>
</p>
<p>
View the code on GitHub:
<a href="https://github.com/github/ariaNotify-polyfill"
>github/ariaNotify-polyfill</a
<a href="https://github.com/github/arianotify-polyfill"
>github/arianotify-polyfill</a
>
(Only accessible to GitHub employees, for now)
</p>
Expand Down Expand Up @@ -117,6 +117,6 @@ <h2>Playground</h2>
reset.disabled = true
})
</script>
<script src="./ariaNotify-polyfill.js"></script>
<script src="./arianotify-polyfill.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion examples/kanban/ariaNotify-polyfill.js

This file was deleted.

1 change: 1 addition & 0 deletions examples/kanban/arianotify-polyfill.js
2 changes: 1 addition & 1 deletion examples/kanban/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,6 @@ <h2>Done</h2>
);
});
</script>
<script src="./ariaNotify-polyfill.js"></script>
<script src="./arianotify-polyfill.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion examples/suggested-text/ariaNotify-polyfill.js

This file was deleted.

1 change: 1 addition & 0 deletions examples/suggested-text/arianotify-polyfill.js
2 changes: 1 addition & 1 deletion examples/suggested-text/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,6 @@
trieRoot.insert("weird");
trieRoot.insert("world");
</script>
<script src="./ariaNotify-polyfill.js"></script>
<script src="./arianotify-polyfill.js"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"description": "Polyfill for the ARIA Notification API",
"repository": {
"type": "git",
"url": "git+https://github.com/github/ariaNotify-polyfill.git"
"url": "git+https://github.com/github/arianotify-polyfill.git"
},
"keywords": [],
"license": "MIT",
"author": "GitHub Inc.",
"main": "ariaNotify-polyfill.js",
"module": "ariaNotify-polyfill.js",
"main": "arianotify-polyfill.js",
"module": "arianotify-polyfill.js",
"type": "module",
"directories": {
"example": "examples"
Expand Down
1 change: 0 additions & 1 deletion tests/web-test-runner/ariaNotify-polyfill.js

This file was deleted.

1 change: 1 addition & 0 deletions tests/web-test-runner/arianotify-polyfill.js
4 changes: 2 additions & 2 deletions web-test-runner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default {
return context.body.replace(
/<\/body>/,
`
<script src="./ariaNotify-polyfill.js"></script>
<script src="./arianotify-polyfill.js"></script>
<script type="module">
import { runTests } from "@web/test-runner-mocha";
import { tests } from "./ariaNotify-polyfill.test.js";
import { tests } from "./arianotify-polyfill.test.js";
runTests(tests);
</script>
</body>
Expand Down