Skip to content

Commit

Permalink
Check links with Lychee (#14)
Browse files Browse the repository at this point in the history
* Check links with Lychee

* Update keep-it-simple-stupid.md

* Create .lycheeignore

* Update .lycheeignore

* Update .lycheeignore

* Update markdown.yml
  • Loading branch information
szepeviktor authored Oct 12, 2023
1 parent e347985 commit 24a8648
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,19 @@ jobs:
uses: "DavidAnson/markdownlint-cli2-action@v9"
with:
globs: "**/*.md"

links:
name: "Links"
runs-on: "ubuntu-22.04"
timeout-minutes: 10
steps:
-
name: "Checkout repository"
uses: "actions/checkout@v4"
-
name: "Run Lychee"
uses: "lycheeverse/lychee-action@v1.8.0"
with:
args: "--verbose --no-progress --require-https './**/*.md'"
output: "${{ runner.temp }}/lychee/out.md"
fail: true
3 changes: 3 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/%7B%7B
^https://www\.skillshare\.com/
^https://twitter\.com/
2 changes: 1 addition & 1 deletion src/posts/keep-it-simple-stupid.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ github: 'https://github.com/conedevelopment/bite-sized-a11y/blob/master/src/post

In my opinion, accessibility is an area that rewards simplicity the best. On the web, you can solve the same thing in many ways. If you design with [WCAG](https://www.w3.org/WAI/standards-guidelines/wcag/), you will have an opinionated guide to form your creative thinking.

In many scenarios, you can choose to create a straightforward solution. Leave a carousel from your design and use a simple grid, eliminating the JS dependency and complexity. Usually, what is simple - in an HTML way - is accessible.
In many scenarios, you can choose to create a straightforward solution. Leave a carousel out of your design and use a simple grid, eliminating the JS dependency and complexity. Usually, what is simple - in an HTML way - is accessible.

The [Motherfucking Website](https://motherfuckingwebsite.com/) is an excellent example of this methodology called [KISS](https://en.wikipedia.org/wiki/KISS_principle). It is an example site that shows how complex today’s web development can sometimes be because of us.

Expand Down

0 comments on commit 24a8648

Please sign in to comment.