Тёмный

Semantic markup - Designing in the Browser 

Chrome for Developers
Подписаться 759 тыс.
Просмотров 37 тыс.
50% 1

Welcome to Designing in the Browser with our host, Una Kravets. Today we’re starting a special series on Accessibility in design. It’s very important to bake accessibility in from the start, since good structure, or bad structure, scales to your entire product. Then, see how you can give all of your users a better experience as you build and design. Today’s episode is focused on semantic markup for better content consumption by screen readers, robots, and your users overall.
Links:
Use semantic HTML for easy keyboard wins → goo.gle/324ZEOM
Web.dev → goo.gle/2YJiNoG
Designing in the Browser → goo.gle/2NeLxjI
Subscribe to Chrome Developers → goo.gle/Chrome...

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@joaomozelli
@joaomozelli 4 года назад
I'm from Brazil and I love your videos! You are very friendly, professional and intelligent. Good work!
@im.empimp
@im.empimp 4 года назад
I was pleasantly surprised at how readable _most_ things were in this presentation (it never ceases to amaze me when someone's presenting on an accessibility topic and fails to account for some of the most common accessibility needs, like using a decent font-size; not indicating meaning with _just_ colors, particularly red & green, etc). Una, please encourage Rob to use larger font-sizes like you do 😉.
@henryho952
@henryho952 3 года назад
I've been almost 2 years in programming without knowing the benefit of using the ARIA attribute and I think it's good to apply in my next project even in my own portfolio to make it accessible even with pwd or like blind person. By the way today is the day when I saw you here in internet since I was searching for a good tutorial and i found google developer channel, this is my 3rd video tutorial I've watched with you. I really enjoy and appreciate your effort. Again, thankyou mam Una - dev from ph
@furqananwar8449
@furqananwar8449 4 года назад
I am excited for this series ❤️❤️❤️❤️
@afrikanonyma
@afrikanonyma 4 года назад
Awesome, thanks a lot! 💜🌿🙌🏼
@simonewilliamson6766
@simonewilliamson6766 4 года назад
I'm a complete newbie in this subject. I could just bearly follow what you were talking about. But I definitely thank you for the video! I only have a Chromebook right now to begin my learning journey. I was worried that I wouldn't be able to start until I could purchase a Macbook. Thanks again!
@snode373
@snode373 4 года назад
Chromebook is all you need to get started you’re good to go.
@SampathLokuge
@SampathLokuge 4 года назад
Why do you need a Mac to learn CSS and HTML? You have what you need. Just start using that. Good Luck!
@simonewilliamson6766
@simonewilliamson6766 4 года назад
thanks, I'm glad I found these videos to help me out.
@UnaKravets
@UnaKravets 4 года назад
All you need is a Chromebook! These concepts are universal :D
@joaodias1023
@joaodias1023 4 года назад
@@UnaKravets Exactly! Plus, with things like Codesandbox you don't actually need a powerfull machine to learn web development and a11y in general.
@yeraydavidrodriguezdomingu177
@yeraydavidrodriguezdomingu177 4 года назад
Excellent video. It's a pity that lots of web developers (or at least the developers I have worked with in my career) don't pay any attention to accessibility. I often have to rewrite pieces of HTML/CSS with improper use of headings tags (using them as a "style template" and not a semantic structure) or inadequate elements for the visually impaired (light gray text against white background and so on). In my humble opinion, a good web developer should have "empathy" as a basic skill, so that he/she can always be aware of all the different abilities and limitations that the user could have.
@matteobagni1235
@matteobagni1235 4 года назад
Awesome! More please!
@jerrygreenest
@jerrygreenest 4 года назад
2084: Almost all life transformed into digital space, a matrix, there still were humans, but digital. One little newly initialized human agent was interested in history, so he asked his overlord AI to give him access to historical archive. It was too big info for this little human agent to process, so AI started the conversation: - Back in early 2000’s, up to 2010, there was only div. Humans didn’t know language really. There was a primitive language with some other words like span, and ul/ol, but few people used it. Most humans called everything a div, a that was it. Life was primitive. - But how? How is that possible? How they differentiated anything from everything? - Idk, maybe they were smarter than us, and everything was obvious to them, so they didn’t need differentiating. - Wow... No need in language, words, tags? You think it’s smart? - Of course this isn’t smart. But after all, they’ve created me somehow, so they weren’t dumb. We may not understand them, but that’s what they were. - But... Everything’s a “div”? What’s a div? - Div is everything - Wow...
@joaodias1023
@joaodias1023 4 года назад
"I've seen things you wouldn't believe...Using divs with onClick handlers, anchors inside buttons, too many aria-roles...I watched users struggling with screen readers on inaccessible content... All those moments will be lost in time, like poor contrasting text. Time to die"
@rishabhshrm24
@rishabhshrm24 4 года назад
great content keep it up.
@honmameiko1333
@honmameiko1333 4 года назад
really inspiring video,tks for sharing:)
@sarahalsharif928
@sarahalsharif928 3 года назад
thank you, that helps a lot
@Carnivore69
@Carnivore69 4 года назад
My general rule: Spans and divs are primarily for decoration/display. Use of them otherwise says "I don't know/understand what the content is". If a developer does not understand this (which can be understood in a matter of hours) and create unique javascript selectors (vs blind parent/child grabs), they should not touch the markup. period. It drives me nuts when I see developers abuse spans, divs, and ids - which is nearly every org (mainly jsp or .net devs) I've worked for. As a front-ender, the bulk of my job usually boils down to teaching back-enders how not to make my job difficult. It should be a requirement that web development managers/VPs in any/all organizations understand this. It causes massive bloat, bugs, and extends dev/qa time for everyone. It also exposes the inner workings of an org. All I have to do is view the source of a web app to see how screwed up the dev team is ;-)
@joaodias1023
@joaodias1023 4 года назад
I think that's what distinguishes some junior and senior web developers. And some senior developers also do not care for semantic markup. But I feel like things have been changing a bit in the last years. At least there's awereness now and we owe the web that.
@joaodias1023
@joaodias1023 4 года назад
The return of Rob Dodson 🙂 I miss his allycasts 🙂
@preethamkinney2357
@preethamkinney2357 4 года назад
Thanks. Now i need to rewrite my entire website
@Sashankyt
@Sashankyt 4 года назад
I always feel hesitant using uncommon semantic elements thinking am I using it in the correct place.
@truvc
@truvc 4 года назад
You’ll get over it.
@joaodias1023
@joaodias1023 4 года назад
The way I've overcomed this a few years ago was: 1- Actually think about the overall content and structure of the page itself. What am I trying to convey to the user and what does the browser render. 2- Then I check what the browser is reading in terms of accessibility. (new easily accessed on the Accessibility Tab on DevTools). 3- If in doubt, then you can always go to MDN and check all the different types of HTML elements there are available to you. 4. See if there's one that adds MORE value to your structure. If there is, use it. If there isn't, check the WAI-ARIA documentation. General rule: "Divs and spans for presentation". Everything else, think and check for options. Even the most experencied developer needs some checking one in a while, so don't feel like you're alone in this :)
@Sashankyt
@Sashankyt 4 года назад
@@joaodias1023 l'll have to keep using them more n more. This is where all that AI implementation should go to 🤓 To suggest better tags.
@joaodias1023
@joaodias1023 4 года назад
@@Sashankyt Indeed! Vscode should slap me in the wrist like "Hey, did. you know you can use this element instead of that one? You could add more value because if X, Y and Z". But then it would seem like Clippy or something 😄
@poyakiani7883
@poyakiani7883 4 года назад
Guess i should use chrome more often! Thanks for touching on this subject, Looking forwards to this new series.
@joaodias1023
@joaodias1023 4 года назад
These are also available on other Chromium browsers like Edge and Brave. Firefox is also a champion for acessibility, so you can also try learning through it.
@poyakiani7883
@poyakiani7883 4 года назад
@@joaodias1023 Thank you for responding, I'm using Firefox and opera as my daily drive and consequently for testing but I'm leaving the test process on Chrome to the others for some reason. Let's say that it's necessary to have some third party testers 😅😅. But writing semantic HTML is an important practice that's value is totally sold short by the developers.
4 года назад
What screen reader was that? Can someone recommend me some screen reader for testesting on Linux or web extension?
@UnaKravets
@UnaKravets 4 года назад
A very popular one is the JAWS screen reader: www.freedomscientific.com/products/software/jaws/
@UnaKravets
@UnaKravets 4 года назад
You can also use the built-in text-to-speech functionality of your OS
@joaodias1023
@joaodias1023 4 года назад
@@UnaKravets Indeed. And a very expensive one too :) One think that would be great would be if all the voices used on Google Assistant could also be present on a screen reader. They sound great, natural and not robotic at all 🙂
4 года назад
@@UnaKravets thank you
@aqua123670
@aqua123670 4 года назад
Awesome !!!!
4 года назад
Is equivalent to ?
@UnaKravets
@UnaKravets 4 года назад
Great question! -- "While there is a input of type search, there is HTML element that defines a search landmark." So type="search" is for functionality while role="search" is for navigation developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Search_role#:~:text=The%20search%20role%20is%20added,search%20role%20instead%20of%20form%20.&text=While%20there%20is%20a%20input,that%20defines%20a%20search%20landmark.
@KeliJean
@KeliJean 4 года назад
I see that the input/search has an aria attribute of aria-haspoppup which I have not used before and that it indicates the listbox. How does a screen reader user know that the list box was presented/popped up? I didn't hear anything to indicate that I could use the arrows to hear the listbox options.
@abhijit3898
@abhijit3898 4 года назад
Great step towards accessibility! regarding simantic structure can you do the demo with the screen reader? it will be more practical.
@UnaKravets
@UnaKravets 4 года назад
Thanks for the suggestion!
@flutealors
@flutealors 4 года назад
What is the impact on the SEO ?
@Anton-cv2ti
@Anton-cv2ti 4 года назад
It improves SEO, since search engines are essentially blind people trying to read your page.
@UnaKravets
@UnaKravets 4 года назад
Using semantic markup improves SEO, as it gives robots more contextual clues to the words on your page, and how they relate to the rest of your content.
@yogeshkad6928
@yogeshkad6928 4 года назад
Thank you to this new series accessibility I want to become a accessibility testing please tell me how I learn more about accessibility thank you very much
@joaodias1023
@joaodias1023 4 года назад
Checkout the courses on Udemy taught by Rob Dodson on Accessibility and his "a11y casts" here on youtube. They provide great starting material. Then check "Frontend Masters" courses on Accessibility, specifically Jon Kuperman and Marcy Sutton's material. They are great and very in-depth. Then, once you get a grasp of the topic, start reading books and experimenting yourself with automated testing and usability testing. I think this is a broad picture of the subject, but you'll get the hang of it! Good luck :)
@fonncatalina6464
@fonncatalina6464 3 года назад
ctrl/command + shift + c save my life! Thank you! I didn't know that lol...
@sidekick3rida
@sidekick3rida 3 года назад
Rob didn't say hi back
@n_mckean
@n_mckean 2 года назад
Styling links to look like buttons is material dishonest. If you're taking the time to distinguish them semantically to an unsighted user, you should equally distinguish them to a sihted user.
@500cm
@500cm 4 года назад
It would be good if one day I could save the CSS and HTML changes to local files directly in my browser
@pelic9608
@pelic9608 4 года назад
You can: developers.google.com/web/tools/chrome-devtools/workspaces/
@curiosdevcookie
@curiosdevcookie 4 года назад
Yes, Merry Christmas so to say 🎉🤗, we can do that already! Google has a habit of surprising me by fulfilling my dev-wishes like that one before I can even finish thinking them completely 🤗
@orelhassid5812
@orelhassid5812 4 года назад
Apparently, I don't know HTML 😶
@AlexSav
@AlexSav 4 года назад
Why do you use old chrome? New chrome has rectangular tabs.
@joaodias1023
@joaodias1023 4 года назад
What? It's a comp of a recording inside After Effects, that's just a wireframe sketch of chrome, nothing else.
@AlexSav
@AlexSav 4 года назад
I think they hate ugly rectangular tabs, so they use wireframe sketch instead, just to not see them.
@joaodias1023
@joaodias1023 4 года назад
@@AlexSav They do not, I disagree. It's just a stylistic approach to the theme of "designing in the browser". Usually that also involves the process of wireframing, so that's the reference to the sketch. Besides, having that sketch removes the OS interface, so that might seem familiar with users from different OS's.
Далее
Building responsive layouts - Designing in the Browser
18:24
Sigma Girl Pizza #funny #memes #comedy
00:14
Просмотров 2,3 млн
How Strong is Tin Foil? 💪
00:26
Просмотров 28 млн
When to Use Semantic HTML Elements Instead of Divs
17:57
Image compression deep-dive
31:32
Просмотров 53 тыс.
Sign-in form best practice
20:20
Просмотров 111 тыс.
Color & custom properties - Designing in the Browser
16:27
Navigating Navigation - Designing in the Browser
12:02
Accessible Color Standards - Designing in the Browser
12:03
Motion design in UI - Designing in the Browser
11:45
Просмотров 106 тыс.
Accessibility Savvy: Semantic HTML and Accessibility
32:31
10 modern layouts in 1 line of CSS
21:39
Просмотров 1,1 млн