Menu
About me Kontakt

In the article 'Behavior Belongs in HTML', the author, a notable advocate for good web design, addresses the critical issue of embedding behaviors within HTML. With the increasing prevalence of JavaScript, many developers tend to overlook the semantics of HTML, which can result in accessibility and usability problems for websites. The author emphasizes that proper use of HTML attributes and semantic marking can not only simplify coding but also enhance user experiences on the site. Examples are provided on using attributes such as 'role', 'aria-*', and 'data-*', which can provide essential information about the behaviors of elements on the page. It's important to understand that HTML not only structures content, but it can also play a role in defining interactions on a site. Transitioning into specifics, the author encourages rethinking how HTML can be improved on websites to better support various forms of interaction, ultimately increasing accessibility and inclusivity for all users.