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

Enhance with semantic HTML5 #68

Merged
merged 5 commits into from
Sep 4, 2023
Merged

Conversation

Zearin
Copy link
Contributor

@Zearin Zearin commented Aug 13, 2023

This needs to be properly tested!

I have barely used Perl, and even then…

  • only ≈10–12 years ago,
  • in an intro classroom environment, and
  • not on a web server

That said, I tried to be careful with these changes, and I’m pretty sure everything should work out fine.

If it works, this will sprinkle a dash of modern markup into things. As a nice side effect, grouping each checked URL in its own section will make scraping or DOM-manipulating a long results list (an inevitability with recursive link checking) a little bit easier.

- Add a little `time` here and there.
- Add `kbd` elements to the explanation of access keys.
- Some uses of the `kbd` element were used for commands, but these commands are themselves `code`.
- Changed `<blockquote><pre>` to `<code><pre>`.
- Update CSS.
**NOTE: Untested!** I don’t know how to set up a server to test these changes. I tried my best to be careful with the changes.

----

- Use `sections` to group each checked URL
- Use a `data-url-checked` attribute on the `section` (to make scraping or client-side DOM manipulation easier)
- Updated to use HTML5 `progress` element
@Zearin Zearin marked this pull request as ready for review August 13, 2023 16:04
@Zearin Zearin marked this pull request as draft August 13, 2023 16:05
@Zearin
Copy link
Contributor Author

Zearin commented Aug 17, 2023

@dontcallmedom Open to review this one?

@halindrome
Copy link

I write Perl every day - do you want me to check it?

@Zearin
Copy link
Contributor Author

Zearin commented Aug 18, 2023

@halindrome Absolutely! Have it it :) 👍

@Zearin
Copy link
Contributor Author

Zearin commented Aug 24, 2023

@halindrome Is it working okay?

@Zearin
Copy link
Contributor Author

Zearin commented Aug 30, 2023

I write Perl every day - do you want me to check it?

@halindrome I take it work has got in the way? No worries.

If you change your mind, it's probably a very simple review for someone who knows Perl.

If not: Anyone else who knows #perl willing to review this PR?

Copy link

@halindrome halindrome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - sorry for the delay!

@dontcallmedom
Copy link
Member

@Zearin you marked this PR as draft - is it now ready to be merged from your perspective?

@Zearin Zearin marked this pull request as ready for review September 1, 2023 16:08
@Zearin
Copy link
Contributor Author

Zearin commented Sep 1, 2023

@dontcallmedom If it works as intended, go for it!

@dontcallmedom dontcallmedom merged commit cbe2d1a into w3c:main Sep 4, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants