Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
extra88
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
extra88
2y ago
Do you mean you wouldn't only use y'all for singular? I assume you would say "how y'all doing" to one person or multiple people.
122.
▲
by
extra88
2y ago
There are countless examples of police not knowing the law. If you talk to them in person, it should be to get an idea of what they'll do, which may or may not have something to do with what's legal. If you want legal advice, ask
123.
▲
by
extra88
2y ago
20+ years ago, a coworker from Memphis said "y'all" was singular, "all y'all" was plural. I wasn't going to honor that but it was interesting.
124.
▲
by
extra88
2y ago
As the MDN article documents, you don't necessarily have to use JavaScript: ```HTML <form method="dialog"> <button>Close</button> </form> ```
125.
▲
by
extra88
2y ago
I think they meant prevent the form submission on the `submit` event and use JavaScript to make the submission. https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending...
126.
▲
by
extra88
2y ago
Yes, I wish when the popover attributes were created there was something included for opening a modal dialog. I think it is possible to use popover to open a dialog non-modally and use progressive enhancement to replace that behavior with `
127.
▲
by
extra88
2y ago
Usually but it's not entirely clear cut. The <dialog> element is native but you have to use JavaScript to open it in the modal state. Before the popover attribute, you couldn't open it at all without JavaScript. There are al
128.
▲
by
extra88
2y ago
We have endless different poorly-implemented variations that sort of look like <select> but typically lack the semantics or non-pointer operability they require. Also, the JS variations are less performant and often insufficiently res
129.
▲
by
extra88
2y ago
Be aware that the vast majority of people who rely on VoiceOver use Safari as their browser; on mobile devices, they have no choice. There are some ways in which Chrome for Mac does a better job of managing its accessibility tree than Safar
130.
▲
by
extra88
2y ago
Adding a name to an element without a role, like span or div, is technically invalid; in this example, only the <ul> elements have valid names added to them, because they implicitly have the role of "list." Also, aria-label
131.
▲
by
extra88
2y ago
They must have fixed it in Safari 18. I'm running macOS 14.6.1 and at the beginning of the month it didn't work but I also just tried it and now it does.
132.
▲
by
extra88
2y ago
Not everything committed to WebKit ships in Safari. But the status changed to resolved/fixed only a month ago and it's in the latest Safari Technology Preview so maybe scrollbar-gutter will ship this year. https://www.w
133.
▲
by
extra88
2y ago
Yes, all the screen readers handle implicit labels just fine. As the a11ysupport.io tests show, it's Voice Control software that fails, not just Dragon NaturallySpeaking but also the built-in Voice Control in macOS. I think the implica
134.
▲
by
extra88
2y ago
Yes, but it does include some features that seem to be included with dyslexia in mind. Letters like d and b have small differences so they're not mirror images of each other.
135.
▲
by
extra88
2y ago
I didn't mention editing, only selecting. A screen reader can absolutely navigate tables by cells, by row and by column. But my mistake, VoiceOver calls Finder's list view a table and can navigate vertically in a column and you ca
136.
▲
by
extra88
2y ago
Your 'pen has `td { position: relative; }` so the link's pseudo-element is not actually covering the row, the row only gets the visual styling that makes it appear clickable. If you remove the positioning from the `td` and add `tr
137.
▲
by
extra88
2y ago
The Finder list view is not a table, you can't select any of the data other than the name. I also don't think you can keyboard navigate the data by column but I can't check that right now.
138.
▲
by
extra88
2y ago
Yep, basically the "block links" technique used to make clickable cards. A downside is it prevents selecting any text covered by the pseudo-element; the JavaScript technique can have the same problem. > top: 0; bottom: 0; >
139.
▲
by
extra88
2y ago
A. Prove it. B. Who cares? Anything in a carousel is content that doesn't matter.
140.
▲
by
extra88
2y ago
I think they're saying because the technique requires adding a second copy of the content in HTML, it's not "CSS-only." For the pedants, they could change the title to "No-JS infinite scrolling carousel animation.&q
141.
▲
by
extra88
2y ago
Yes, my recollection was wrong. There are some landmarks that can be nested inside other landmarks and still be conveyed but <header> (ARIA role "banner") isn't one of them. Using <header> elsewhere for developer
142.
▲
by
extra88
2y ago
As I mentioned in another comment, I think developers would have fucked up way too often and the hierarchy still wouldn't be right. Having the right heading levels is not something that can be solved by an algorithm, it depends on a hu
143.
▲
by
extra88
2y ago
There are many roles that exist that are not actually conveyed by screen readers. Either they're obscure and so seldom used that no one cares if the role is not supported, the content and context are sufficient, or they're overuse
144.
▲
by
extra88
2y ago
In theory they could, in practice they don't because almost nobody writing those elements pays attention to that level of detail or use them solely for a visual styling effect that has no bearing on understanding the meaning of the con
145.
▲
by
extra88
2y ago
I'm fine with it failing. I think in practice developers would have fucked up regularly so the hierarchy still wouldn't match the content.
146.
▲
by
extra88
2y ago
The heading hierarchy is the table of contents. Rather than some magic that creates a set of anchor links that link to the page's headings, I want browsers to provide what screen readers do, list the headings and let people keyboard
147.
▲
by
extra88
2y ago
<header> and headings are very different. A heading is how you semantically signpost the beginning of a different section of content. A <header> other than one at the beginning of a page, is basically a DX convenience. Headings
148.
▲
by
extra88
2y ago
Blame Safari. The standard includes the `is` attribute, it's supported by all browsers except Safari, but Safari not only hasn't worked on supporting it, they've stated they won't do so. https://developer.mo
149.
▲
by
extra88
2y ago
> if the scripting media query was ubiquitous I would never go back to toggling classes via JS I am asserting that in the majority of cases where a person's browser is not running a page's JavaScript, it is because of a network
150.
▲
by
extra88
2y ago
When the CSS is only to be used when JavaScript runs, I'm okay with using JavaScript to make it active. Again, the media query only does its thing when the browser says JavaScript isn't supported , if the page's JavaScript d
More ›