It's a better experience than sending her the links directly.
309 karma · joined May 24, 2013
It's a better experience than sending her the links directly.
Fun fact: Flask was born as an April Fool's joke parodying Bottle. (source: https://en.wikipedia.org/wiki/Flask_%28web_framework%29#cite...)
I know there's still a considerable gap between 40s and 60s from my stories, but the point is that he should try it and you help him.
But you have to remember the initial goal of why the Internet started as open and what was the initial goal, to make all information accessible to everyone, that's why accessibility standards were there since the beginning.
That was the entire goal of the web, to be open and accessible to EVERYONE.
But if you want to go full head on capitalism and argue it doesn't matter for business, accessibility is literally search engine optimization, which is great for business. Googlebot is blind and doesn't use a mouse to surf the web.
From any perspective Accessibility is a requirements for any website or web application. Of course, nobody can force developers to make websites accessible.
Wait, yeah they can:
* https://www.reuters.com/article/us-usa-court-dominos-pizza/u...
Haven't used it yet, but I asked the same question about Robinhood alternatives and this was the top recommendation.
Gatekeeping alert!
Fortunately, there is more than one way to do things. I've been in HN for a while now and I don't do any of this. I was doing it when I wanted to learn, but now I need to get a project launched without any burden so I deploy it to ZEIT Now which is not the same as OP, but you get the idea.
> It definitely is.
It is not, you pay $14 and you get basic analytics and this https://usefathom.com/news/anonymization that's worth the money for me.
> It's cheaper, faster (by a 3-4x margin), and simple.
What about user privacy? are you anonymizing the users?
I have two sites in my Fathom Analytics account which I pay $14 USD/month. Keep in mind that you can add multiple sites to your Fathom account, you just need to keep an eye on the page views.
In my case, I want to see what posts have more visits. I don't intend to monetize my blog, but I do have a lot of curiosity about what people like to read on it.
They do, we have a standard for that, https://html.spec.whatwg.org/
This is your perception, but if you don't use semantic HTML, you are building elements that look like something (for sighted users) but in reality, is something else (for assistive technologies and search engines).
So, it only works for a part of your users. And maybe it works for the majority of your users, but that means that you are making it hard for people that use assistive technologies and search engines to navigate your site.
Leave alone people with disabilities because you don't seem to care. Search engines need semantic HTML to crawl correctly your website, so it's an important part of any project.
There's a semantic way to accomplish that. If the click event you want to add triggers an action inside the page you can do
<button aria-title="Open modal">
<img src="/img/surprised-pikachu.jpg" alt="Surprised Pikachu meme">
</button>
Or if clicking in the image takes you to a different page, then <a href="#" aria-title="Visit the learn semantic HTML page">
<img src="/img/surprised-pikachu.jpg" alt="Surprised Pikachu meme">
</a>
Then you can add your click event to the surrounding element and add a few classes to remove the default stylings.> there's a mismatch between how HTML is designed and what it actually has to do in the wild.
There is an entire HTML spec[1] that explains what specific elements are for. And I agree that is not perfect, but this is what we have and if we at least don't follow it, we will be building even more shitty websites.
> Maybe using the "correct" element structure is going to be much more complex in a given situation due to the fact that you've got CSS rules that will be in scope that will style it for another purpose, and you'll have to undo and override all that work bit by bit to get it to match what the designer envisaged in this particular placement.
> So instead you just use some divs, stick a few generic classes on stuff and get on with your day.
Some "web developers" want to use `div`s instead of `button`s because it takes less CSS to style the former, but what they don't realize is that they are making theirs (the "developer") life easier, but are giving a bad UX to people that use assistive technologies and someone else, guess who? Search engines!
Search engines are basically blind entities that only use the keyboard. So, if you use a `div` they will see it as a `div`, they won't see the bunch of classes you added to make it look like a button.
So, it's a better good experience and search engine optimization to use semantic HTML. This means if you need a button use a `button`, if you need a link use an `a`, if you need an image that when you click on it it will take you to another page, surround the `img` with an `a` tag and use `aria-label` to announce what clicking on that link will do for the user, e.g.,
<a href="/learn-semantic-html" aria-title="Visit the learn semantic HTML page">
<img src="/img/surprised-pikachu.jpg" alt="Surprised Pikachu meme">
</a>
> The tools are supposed to be the slave of the workman, not the other way round.A good craftsman knows its tools and the best way to use them because each one of them has a purpose. You shouldn't use a screwdriver to hit a nail.
IMO, it's more about developers just using Bootstrap without reading the documentation. The examples are pretty well done, they use semantic elements and are accessible.
For example, the Navbar[1] element has a good HTML structure and uses `aria-label`s that announces what's going on to assistive technologies.
Another one is the modal example[2], it has semantic elements, the `tabindex="-1"` attribute to make it accessible to keyboards and the correct use of the `aria-label` as well.
So, their documentation pretty much teaches you how to use it correctly. I'm not a fan of Bootstrap myself, but I think throwing the blame at it is unfair.
The people I met in ##frontend were extremely helpful and made them good friends.
Sleep is very important for your physical and mental health, and it affects people around you, too.
Even those two extra hours you can add are really important. You probably could say "yeah, I'll just drink coffee in the morning," well, NOTHING is a replacement for sleep and coffee has some repercussions in your sleep too (depending on quantity and when you drink it).
So if you are sleep deprived and adding coffee to the mix, you're doing it wrong. Inform yourself, read books about it, ask doctors, don't make decisions based on what people say on the internet (myself included) and you will notice a big difference almost right away.
I stopped drinking coffee (because I have terrible reflux) and started sleeping more. I wake up in a better mood; I noticed that I'm more productive at work because I'm less stressed, plus my family noticed the change too.
But let's remind everybody that this is only one approach of many you can use.
One approach that can solve problems Tailwind tries to is proper planning. An initial style guide can show you that the `author-bio` component looks similar to `article-preview` (taken from the author's blog post[1]), so you beforehand plan for that HTML and CSS and create a component you can reuse.
Of course, you could have decisions made after the fact and go back and change stuff; nothing is bulletproof.
- [1] https://adamwathan.me/css-utility-classes-and-separation-of-...