1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-20 04:12:09 +00:00
Commit graph

261 commits

Author SHA1 Message Date
Rohan Kumar
2bdcd17970
Join Netizens webring 2022-08-01 20:51:07 -07:00
Rohan Kumar
5df229bfc8
Styles: more containment, fix spacing 2022-07-24 11:28:23 -07:00
Rohan Kumar
cd8d0e88ae
Webmentions: don't use a <dl> for no mentions
When I have no webmentions, I shouldn't use a <dl> to describe the
menchie placeholder.
2022-07-17 19:25:38 -07:00
Rohan Kumar
035dcada58
Drop redundant aria-required attr 2022-07-15 22:45:00 -07:00
Rohan Kumar
ff0c7deafa
Make the skip-link point to h1 instead of main
Link targets need to be focusable to work with VoiceOver.

Making <main> focusable causes some side-effects, like making the TAB
key go to the beginning of <main> instead of the element after the
currently-clicked region.

Also removes the annoying outline around "main" in some non-mainstream
browsers, without having to add extra CSS.
2022-07-13 08:31:20 -07:00
Rohan Kumar
1a7cc7156c
Replace homepage <aside> with page description
IBM Equal Access A11y Checker caught an <aside> without a label. Figured
this was a good opportunity to instead use the site description.

While I was at it, I expanded said site description and used it
properly.
2022-07-12 23:05:37 -07:00
Rohan Kumar
77c44184c8
Allow autosuggestions in webmention form 2022-07-11 15:23:39 -07:00
Rohan Kumar
46c6b02d36
Allow spellcheck in search input 2022-07-11 15:22:52 -07:00
Rohan Kumar
9d4f18ffde
a11y: Make backlink label start with name
The WCAG "label in name" SC requires visible labels to contain
accessible names, preferably by having accessible names start with
visible labels. This commit makes footnote backlinks display as a
hyperlink reading "Back" to meet this SC.
2022-07-11 15:18:15 -07:00
Rohan Kumar
0aafdaaddf
New section: "Meta"
Move all content about the site itself to a "meta" section.
2022-07-10 22:36:22 -07:00
Rohan Kumar
4d3b628fb3
Add aria-required, autocomplete attributes to forms
- We don't want autocomplete on the webmention form, since users should
  not be entering a link multiple times.
- Not all browsers support the "required" HTML5 attribute, so add the
  "aria-required" HTML attribute too.
2022-07-08 14:32:25 -07:00
Rohan Kumar
297ad1e5cb
Add skip-link
This one is simpler than the last attempt, since it doesn't overlap with
any content except the navbar links' empty padding.
2022-07-07 08:52:55 -07:00
Rohan Kumar
c4fef91b64
add IndieAuth authorization_endpoint
Also remove the useless generator tag. If someone wants to see how my
site was built, the source code is linked right in the footer.
2022-07-07 08:44:41 -07:00
Rohan Kumar
600bd85f1a
remove bad itemref 2022-07-07 08:42:09 -07:00
Rohan Kumar
70b8a5e9cb
re-org the About section, add breadcrumbs
Create an "about" section.

Add breadcrumbs to show relationships between pages with full page
titles.
2022-07-07 17:44:34 -07:00
Rohan Kumar
40585964fe
Fix dead link 2022-07-07 00:15:23 -07:00
Rohan Kumar
91a54ac0c9
Fix webmention heading hyphenation 2022-07-01 17:12:34 -07:00
Rohan Kumar
a4f5f797b6
Fix authorship metadata 2022-06-30 08:35:05 -07:00
Rohan Kumar
cd82ce39ec
Webmentions: display reply content + a11y issues
- Display reply content in webmentions, when it's available
- Truncate titles and redundant content from webmentions
- Add note on a11y issues regarding badly-formatted webmentions from
  brid.gy's mastodon integration.
2022-06-30 08:34:16 -07:00
Rohan Kumar
7bd9784653
Microdata: fix relative urls, add a11y metadata
- Add a11y metadata to transcribed images to communicate the presence of
  a transcript
- Fix relative urls in navigation: make them absolute urls, so that the
  parsed navigation elements have the correct destinations.

This also switches image transcripts from a section with a heading to a
div with an ARIA label. That should reduce duplication between the
<summary> content and the heading while still being semantically sound.
2022-06-29 18:05:48 -07:00
Rohan Kumar
ec1ace911b
Fix bad links
- Switch an abs link to a relative one
- Account for a site move
- Manually correct a couple dead links to point to the Wayback Machine
- Automatically switch some webmention links to the Wayback Machine
2022-06-29 08:42:23 -07:00
Rohan Kumar
2b88317a46
Support "random" webring links
Will be necessary for inclusion into IndieSeek's Retroweb Ring.
2022-06-27 08:43:13 -07:00
Rohan Kumar
e2704fab7c
Fix bad links 2022-06-23 16:10:11 -07:00
Rohan Kumar
f9c497fac0
Rename "posts" section to "articles"
No liinks changed; just the content displayed. The "posts" section is
now "artilces" to distinguish it from my "notes" section.
2022-06-19 20:15:56 -07:00
Rohan Kumar
fba366ca11
Check and fix broken links 2022-06-17 20:36:35 -07:00
Rohan Kumar
9f3d6b9df3
Re-introduce RSS discoverability alongside Atom
The RSS feeds use escaped HTML instead of XHTML, which improves
compatibility with certain feed readers (e.g. Microsoft Outlook).

Mention that Outlook uses its own weird engine for feed contents in my
web best practices article.
2022-06-17 08:51:53 -07:00
Rohan Kumar
a3aa0fbaaf
Hide some useless stuff
Remove visible bullets from datafeeds. Switch them to <ol> for
consistency.
Hide superfluous horizontal rules from print media.
2022-06-14 22:08:50 -07:00
Rohan Kumar
29dfdf34a7
Fix typo: don't replace ellipsis with m-dash 2022-06-11 13:32:03 -07:00
Rohan Kumar
c41e602ed1
Add info on site design 2022-06-10 18:49:31 -07:00
Rohan Kumar
0c97f87d2a
Typo 2022-06-10 15:00:35 -07:00
Rohan Kumar
916b089a4f
Various fixes for hidden service
- Formatting fix for indieweb icon
- Support searching directly on hidden service
2022-06-09 21:24:13 -07:00
Rohan Kumar
2bae1cb224
Add native search to hidden service 2022-06-09 20:47:21 -07:00
Rohan Kumar
a4bcf9c4dd
Re-add support for <samp> in markdown 2022-06-08 18:17:33 -07:00
Rohan Kumar
ae0661bb7a
Typos, missing "required" attribute 2022-06-08 18:15:17 -07:00
Rohan Kumar
16bf64f009
Add mising <p> 2022-06-08 17:40:19 -07:00
Rohan Kumar
1cbc635525
Various typos, correction
- Correct "JS-enabled engines" note with info on Yep
- Minor typos
2022-06-08 17:29:46 -07:00
Rohan Kumar
6042b0bdaf
Add structured data for SearchAction
Should support a sitelinks searchbox now.
2022-06-09 11:13:25 -07:00
Rohan Kumar
5f48ca7bbe
Display search results on my own site
Use the SearchMySite API to gather results and render them in HTML on my
own site. I'll open-source the Go program that generates the results
soon.
2022-06-09 08:44:55 -07:00
Rohan Kumar
854ad8dcce
Use "search" ARIA role. 2022-06-07 23:36:05 -07:00
Rohan Kumar
3c914b4dd1
Support multiple <dt> that share a <dd>
- Make sure their tap targets do not overlap
- Use a regex to detect them in markup using an "OR" keyword
- Implement them in one article.
2022-06-06 21:42:32 -07:00
Rohan Kumar
665efa85e6
Better profile info
- Re-org home+about profile info
- Moar webfinger
- Moar microformats
2022-06-06 15:59:20 -07:00
Rohan Kumar
13a2595482
Add combined Atom feed 2022-06-06 12:26:28 -07:00
Rohan Kumar
1782aeeda6
Remove apple-touch-icon, add webfinger 2022-06-06 08:49:11 -07:00
Rohan Kumar
6d09030988
Replace some CSS borders with <hr />
The thematic break is appropriate there and it trims down my CSS a bit.
2022-06-05 21:17:18 -07:00
Rohan Kumar
e7cb1f03a5
Put webmentions in a <details> elememnt. 2022-06-04 16:43:31 -07:00
Rohan Kumar
0029dad183
Whitespace fix 2022-06-04 16:43:18 -07:00
Rohan Kumar
f271291f49
Automate reply-context, add more metadata to Atom
- Build reply-context from front-matter
- Add more activitystreams, portblecontacts, ostatus, etc. metadata to
  Atom feed. Inspired by Pleroma's feeds.
2022-06-02 17:36:06 -07:00
Rohan Kumar
f52aaed4f2
Whitespace fixes 2022-06-02 17:21:15 -07:00
Rohan Kumar
1d43cce53e
Fix extra backslash 2022-06-02 17:19:55 -07:00
Rohan Kumar
b02a619260
Add missing tabindex 2022-06-02 13:14:20 -07:00
Rohan Kumar
c1f991efff
xhtmlize: switch back to using xmllint
Switch back to using xmllint, but now extract + replace the CSS to
address the escaping.
2022-06-01 22:11:40 -07:00
Rohan Kumar
6a47371a05
Cosmetic fixes
- Drop copyright symbol: I put it there because certain programs
  explicitly look for it, but between rel=license, schema.org microdata,
  and creative commons RDFa, I think scrapers should be covered.
- Update the theme-color and friends to work with my site's updated dark
  theme.
2022-06-01 21:52:11 -07:00
Rohan Kumar
e77046bf99
Demote RSS feeds in favor of Atom
Explicitly mark RSS feeds as "legacy" because I have joined the A-Town
Atom gang and they have a strict full-time attendance policy.

Thanks Forever for pointing out the spelling/grammar error here.
2022-06-01 21:50:48 -07:00
Rohan Kumar
672d89d007
More whitespace fixes 2022-06-01 21:49:04 -07:00
Rohan Kumar
89139337d1
Fix some whitespace 2022-06-01 21:00:19 -07:00
Rohan Kumar
425071eade
Auto-format markup in CI
Use xmlfmt with some extra post-processing since xmlfmt has a few
issues wrt extra newlines.
2022-06-01 17:37:14 -07:00
Rohan Kumar
874414229e
Metadata amendments
- Re-order rel for my homepage's representative h-crad
- Fix the aria-current for the homepage
- Microdata: remove unnecessary "sameAs"
- Reduce "update without adding date updated" timeout to 15min
- Add u-uid and rel=me to my h-card on every page.
2022-06-01 10:04:35 -07:00
Rohan Kumar
3f6877a9f1
Fix bad atom links 2022-06-01 08:53:07 -07:00
Rohan Kumar
b4850ed89a
Use XML declaration on XHTML, other XHTML tweaks
- Remove XHTML content-type meta header from HTML documents, reverting
  back to the meta charset
- Give XHTML documents their own XHTML declaration
- Remove now-redundant meta charset from XHTML
- Since XHTML and HTML documents differ now, compress after running
  xhtmlize and make xhtmlize only act on uncompressed files.
- Validate XHTML using vnu
2022-05-31 17:16:44 -07:00
Rohan Kumar
90aeb2d23a
Create both index.html and index.xhtml files
Combines well with content-negotiation based on the "Accept" header.
2022-05-30 16:09:40 -07:00
Rohan Kumar
1aed7a66d4
Switch to XHTML5 markup
The site now has polygot markup and can handle both XHTML5 and HTML5
parsing rules. My staging site will be XHTML but my main site will be
HTML5, just in case of parse errors.

If other tools (e.g. LightHouse) end up supporting XHTML5, I'll consider
switching the content-type to XHTML.
2022-05-30 17:39:45 -07:00
Rohan Kumar
499c99245c
Fix whitespace 2022-05-30 14:02:09 -07:00
Rohan Kumar
9356055f6c
Fix: webmention form partial has missing context 2022-05-30 13:50:09 -07:00
Rohan Kumar
753f55c09e
Viewport: disable shrink-to-fit (WebKit)
I go out of my way to make sure the site works on viewports well under
240 CSS pixels wide. Some pages are very long, so a single mistake in
one part of the page shouldn't cause small text throughout the page.
2022-05-30 12:28:13 -07:00
Rohan Kumar
927987093e
Form improvements
- Make webmention submission form a fieldset
- Re-order CSS to avoid descending specificity
- Make search label mention Search My Site
2022-05-30 12:07:33 -07:00
Rohan Kumar
0ed68c5e9a
Add webmention submission forms
A long time coming
2022-05-29 22:48:27 -07:00
Rohan Kumar
65306b7867
Fix: sort webmentions by date 2022-05-29 20:37:18 -07:00
Rohan Kumar
06020cf849
Fix invalid microdata 2022-05-28 16:53:02 -07:00
Rohan Kumar
97baa0bd51
Fix: add redundant author metadata
Some article extractors get confused when the article body references
another author with microdata. Declare the author itemprop a second time
to make them happy.
2022-05-28 16:30:28 -07:00
Rohan Kumar
3b8b35ce8c
Fix: get webmentions from legacy URLs 2022-05-27 19:21:43 -07:00
Rohan Kumar
c84c8d4214
BREAKING: Prettify URLs, add Atom feeds
Adding a bunch of server configs to do the re-directs too.
2022-05-26 18:57:49 -07:00
Rohan Kumar
38c0d38fa4
Add RSS feed for notes, part 1
Add an RSS feed for notes. Next up, replacing the RSS navlink with a
page containing links to both my posts and notes RSS feeds. When I get
ATOM and WebSub, it'll have links ot those too.

Also fixed some typos and switched "Posted" to "Noted" in the context of
notes.
2022-05-26 18:03:28 -07:00
Rohan Kumar
a1d3c993bc
Fix bad search label 2022-05-26 17:16:21 -07:00
Rohan Kumar
8158cb3cd9
Add site search (poweredy by SearchMySite)
Add a search bar to the site footer to search seirdy.one.
2022-05-26 17:06:56 -07:00
Rohan Kumar
485d0579f8
Join Loop ring 2022-05-25 22:36:43 -07:00
Rohan Kumar
b6cec919ab
Fix changelogs for notes 2022-05-24 17:28:32 -07:00
Rohan Kumar
f97df83661
Typo 2022-05-24 17:22:03 -07:00
Rohan Kumar
d409a1ba58
Add "notes"
Short-form posts for microblogging. TODO: implement POSSE.
2022-05-24 16:37:26 -07:00
Rohan Kumar
b88be14eca
Use nested <details> for webrings 2022-05-23 15:17:02 -07:00
Rohan Kumar
279d70810e
Support "evergreen" articles
"evergreen" articles don't get outdated and shouldn't be marked with a
published date in previews.
2022-05-23 08:39:24 -07:00
Rohan Kumar
e430cedff2
Use nonbreaking spaces in word count
Word count value and unit should not be broken apart from each other.
2022-05-22 19:43:56 -07:00
Rohan Kumar
db2410ed32
Fix data feeds 2022-05-20 18:35:04 -07:00
Rohan Kumar
2204ae8861
Microdata improvements
- Semantically link each blog posting to the greater blog
- Fix copyright bullshit
- Make some articles TechArticles
- Remove unnecessary markup
2022-05-20 18:32:21 -07:00
Rohan Kumar
a0644d74c3
Make webmentions a <dl>, don't translate code 2022-05-19 19:26:21 -07:00
Rohan Kumar
1b5062d090
Fix: remove double border 2022-05-19 18:40:33 -07:00
Rohan Kumar
f798de7e63
A11y: drop draft ARIA, overhaul in-page links
- Stop using draft WAI-ARIA 1.3 that isn't supported yet
- Make in-page links focusable across shortcodes/partials
- Replace existing in-page heading anchor links with a more accessible
  option.
- Make backlinks aria-labelledby instead of giving them an aria-label,
  so they can be translated.
2022-05-19 17:18:14 -07:00
Rohan Kumar
47e55b9aef
Typo 2022-05-19 13:30:03 -07:00
Rohan Kumar
b5dd4f21ab
Fix: make 1hr+ reading time clear
the comma was confusing, switch to the word "and".
2022-05-19 13:18:23 -07:00
Rohan Kumar
a991377e78
Make large word counts approximate
High precision in large numbers is less useful. Reduce the number of
significant digits. Also helps less numerically-inclined readers.
2022-05-18 18:30:41 -07:00
Rohan Kumar
b519c5f371
Add prev/next post navigation links
Also adjust some margins to eliminate cut-off elements.
2022-05-18 17:21:48 -07:00
Rohan Kumar
937369b777
Make sure the TOC is labelled by its heading 2022-05-18 17:20:59 -07:00
Rohan Kumar
c124687391
Remove title attributes from <time>
They're not interactive elements and there's no hint that they should be
hovered on. Wrapping them in an <abbr> would just make the markup even
more overcomplicated, so I just dropped the titles.
2022-05-18 17:18:36 -07:00
Rohan Kumar
6d066f8711
Support page-specific open graph images
Allow specifying open graph images for individual pages. Change default
site-wide open graph image alt-text to an empty string since the default
image only has visual value, and is better off hidden from assistive
technologies.

Set an open graph image for two articles.
2022-05-18 09:00:05 -07:00
Rohan Kumar
e89b537c5c
Revert post-meta to not use a <ul> anymore
It plays better with "reading mode" implementations when it's just text.
2022-05-18 08:55:43 -07:00
Rohan Kumar
1c73b0e1fe
Some quick fixes before I start work
- Fix some webring links
- Fix post-meta's word count
2022-05-16 10:30:34 -07:00
Rohan Kumar
497d5da5a3
word count in post lists + add qualitative desc.
- Add qualitative description to reading time
- Add word count + reading time to post list
2022-05-15 17:38:30 -07:00
Rohan Kumar
86143428f3
Better backlinks, streamline css
- Streamline CSS to reduce duplication
- Better backlink accessible names for endnotes with multiple backlinks

This required updating a false positive filter in my vnu jq filter.
2022-05-12 20:51:11 -07:00
Rohan Kumar
29b01ed1a5
Remove unnecessary title attributes 2022-05-12 18:57:00 -07:00
Rohan Kumar
a42a0f95d3
Fix list semantics 2022-05-12 18:41:32 -07:00
Rohan Kumar
7b236f003c
Use WAI-ARIA 1.3's "comment" role on webmentions 2022-05-12 18:39:34 -07:00