1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Compare commits

..

No commits in common. "48a9088ca1da44360846b921895deb219ffd50b0" and "603bbd8fa2df162f6520d2e644e386d2fb775e46" have entirely different histories.

3 changed files with 3 additions and 33 deletions

View file

@ -1,12 +0,0 @@
---
title: "Demise of DTDs"
date: 2022-06-08T00:13:46-07:00
replyURI: "https://hackers.town/@theruran/108440475936938471"
replyTitle: "ever looked into writing your own DTD?"
replyType: "SocialMediaPosting"
replyAuthor: "theruran"
replyAuthorURI: "https://hackers.town/@theruran"
---
People have mostly moved on from DTDs. In HTML-land, they use the Living Standard; in XML land, they stick to boring existing parsing rules and use XML namespaces. In both, they use RDF vocabularies to describe RDF-based structured data.
I'm curious as to why you're interested in creating a new DTD. I think that unless you plan on creating a new SGML-based language, you're better served by namespaces.

View file

@ -1,15 +0,0 @@
---
title: "Resize and reflow"
date: 2022-06-07T23:38:39-07:00
replyURI: "https://yatil.net/blog/resize-text-reflow"
replyTitle: "WCAG SC 1.4.4 Resize Text and 1.4.10 Reflow"
replyType: "BlogPosting"
replyAuthor: "Eric Eggert"
replyAuthorURI: "https://yatil.net"
---
This is a good article on the difference between SC 1.4.4 and 1.4.10. However, I don't think these criteria go far enough:
Even narrower viewports exist. KaiOS devices tend to have 240&nbsp;px viewports; smartwatches tend to have half the width of a phone while emulating a phone width (Apple Watches can be instructed not to do this with a proprietary `meta` tag). Of course, making sites watch-compatible is a stretch, but support for feature phones running KaiOS should be reasonable. I wrote about this more in <cite>[Best practices for inclusive textual websites](https://seirdy.one/posts/2020/11/23/website-best-practices/)</cite>.
Another thing worth remembering is that users can change default fonts or override sire-set fonts. Don't just test with default default fonts; test with something wider. These criteria should specify some font metrics or (royalty free) representative wide fonts to use for testing.

View file

@ -1,12 +1,9 @@
<form <form
itemprop="potentialAction" itemscope="" itemtype="https://schema.org/SearchAction" itemprop="potentialAction" itemscope="" itemtype="https://schema.org/SearchAction"
action="https://searchmysite.net/search/" method="get" role="search"> action="https://searchmysite.net/search/" method="get">
<label for="search"> <label for="search">Search this site (powered by <a rel="nofollow" href="https://searchmysite.net/">Search My Site</a>):</label>
Search this site (powered by <a rel="nofollow" href="https://searchmysite.net/">Search My Site</a>):
</label>
<div><!--We need the extra divs to serve as pseudo-table-cells.--> <div><!--We need the extra divs to serve as pseudo-table-cells.-->
<input id="search" type="search" itemprop="query" <input id="search" itemprop="query" type="search" value="domain:seirdy.one " name="q" />
value="domain:seirdy.one " name="q" spellcheck="true" />
<div><input type="submit" value="search" /></div> <div><input type="submit" value="search" /></div>
</div> </div>
</form> </form>