Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
extra88
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
31.
▲
by
extra88
5mo ago
There are already well-defined rules, you just don't like some of the rules, e.g. you can't (today) style <select> options. Keyboard navigation is free as long as you follow the rules about which elements are focusable. Yo
32.
▲
by
extra88
5mo ago
Good news! `.ariaNotify()` is basically a real implementation of your hypothetical document.speakText. https://developer.mozilla.org/en-US/docs/Web/API/Element/ari...
33.
▲
by
extra88
5mo ago
I think popover and invoker commands with polyfills are already the way to go. The polyfills are small (and if you only want to use the "show-modal" invoker, it's like 10 lines to feature detect and polyfills just that). Many
34.
▲
by
extra88
5mo ago
Note the word "if" at the beginning.
35.
▲
by
extra88
5mo ago
Sure. I don't know where you're claiming that misinformation is coming from, it doesn't have anything to do with what I wrote. I was referring to CSS properties that affect the accessibility tree.
36.
▲
by
extra88
5mo ago
<dialog> is awesome, especially when combined with Invoker commands or `popover`. <menu> does nothing, it's just another name for <ul>.
37.
▲
by
extra88
5mo ago
Because for the user experience, it is identical to <ul>. Use <menu> if it helps you to understand your code but in the browser's accessibility tree and in all other respects, it's just an unordered list. Conveying tha
38.
▲
by
extra88
5mo ago
WAI's APG patterns exist to document how ARIA attributes should work, they don't advocate for them to be used in place HTML elements. They also don't test to confirm that they actually work in browsers or with assistive tec
39.
▲
by
extra88
5mo ago
I'm not familiar with that old tale about Zeldman. It's true that assistive technologies don't know about CSS class names but CSS absolutely can affect a non-sighted screen reader user's experience. I don't use Tail
40.
▲
by
extra88
5mo ago
If Tailwind lends itself to using pixels instead of relative units for things that should be relative (like font-size, line-height, etc.), that's a problem. For those users, the HTML elements matter less unless they're savvy users
41.
▲
by
extra88
5mo ago
That's less accessible and capable than the popover / dialog solution.
42.
▲
by
extra88
6mo ago
BTW, there's a glitch in your code snippet syntax highlighting; in Light mode, the 'p' selector is remaining an unreadable yellow.
43.
▲
by
extra88
6mo ago
That's only a problem with some sans-serif fonts. This very site is using a sans-serif and the capital 'I' has bars in either end so it's not confused with 'l'. Some sans-serif fonts do add little flourishes to
44.
▲
by
extra88
6mo ago
Yeah, it seems fine on my iPhone 13 running Safari 18. It's not warming up. Some ball shadows look kind of grainy but moving my finger around moves the balls around.
45.
▲
by
extra88
7mo ago
Text selection works for me (using Firefox). The squash and stretch effect is certainly not to my taste but it's a personal site, where people should feel they can try things out. I do think the effect should be disabled when users hav
46.
▲
by
extra88
7mo ago
Reddit also has RSS feeds, add `.rss` to urls.
47.
▲
by
extra88
8mo ago
Why would Apple "ban" a binary they ship with the OS? If I just run /usr/sbin/cron on my Apple Silicon Mac, the output is "Killed: 9" but if I actually create a crontab for a user, it works.
48.
▲
by
extra88
8mo ago
Meh, cron on OS X/macOS has been deprecated for over 20 years.
49.
▲
by
extra88
8mo ago
Their labeling of feature availability is messed up. It says sibling-index() is widely available when it's not even available in Firefox yet.
50.
▲
by
extra88
8mo ago
Filling the gas tank of of a sedan takes like 2 minutes, doing the equivalent charging is going to take a lot more than 4 minutes. "Orders" may be an exaggeration but one order of magnitude isn't.
51.
▲
by
extra88
8mo ago
Chargers at grocery stores and other places of public accommodation that have lots of parking and customers who stay a while are good options. I don't know how many are enough; even fast chargers take orders of magnitude longer to use
52.
▲
by
extra88
8mo ago
I think proportion is more useful that quantity. 66% of housing units (that's all forms of housing, not just single-family homes) have a garage or carport. Also, given that there are ~145 million housing units, 60 million would be a ba
53.
▲
by
extra88
8mo ago
I think the confusion is about what "Gorey, Grimm, Scarry" mean. They, along with "Silverstein" in that game, are last names of children's authors.
54.
▲
by
extra88
8mo ago
It hasn't.
55.
▲
by
extra88
9mo ago
I don't get any of that in Safari or any other browser. "Rufus" is just a button in the main navigation, between "All" and "Same-day delivery" that I ignore. On individual product pages, there's "
56.
▲
by
extra88
9mo ago
Yes, I think that's standard in the U.S.
57.
▲
by
extra88
9mo ago
Safari is my default browser. I don't know what "Dufus" means, I don't recall any A.I. references. On Amazon, it's all first-party stuff, what browser blocks that natively? It seems like you're comparing using
58.
▲
by
extra88
9mo ago
Safari (desktop and mobile) also has tracker blocking built in. "Prevent cross-site tracking" and "Hide IP address from trackers" are two settings it has; I think the first is checked by default, I don't remember ab
59.
▲
by
extra88
9mo ago
Yes, the tabs in a tabs pattern should be keyboard navigated using arrow keys (ironically not the Tab key). Also, the summary for the currently open details element will have the wrong state, 'expanded' instead of 'selected&#
60.
▲
by
extra88
9mo ago
That's what we need, for browsers to have a setting to remember our light/dark preferences per-domain.
More ›