Categories
Opinions

Accessibility and test hooks for HTM L Table

Well usually you would use role attributes or aria-label or aria-labelled-by to add the accessibility heuristics. But in the case of table, you don’t need to add any thing extra to make the HTML Table accessible. Just using correct element syntax is enough. What it has to do with testing, well those can easily by […]

Categories
Angular Opinions

One less effect to reset signal in Angular

I need to fetch some posts. We will use the httpResource. HttpClient returned observables but this one is reactive wrapper around HttpClient. The response we get is a signal. We can render the content in template as {{ content.value() }} But there is new inquiry. We need filter by specific user, No problem we can […]

Categories
Opinions

Walt Disney unique way of requesting input

Categories
Opinions

A Case for tailwind

I am gonna start fresh, I am will write semantic CSS. The You have a blog title that is different than other titles, little bigger, with underline. So I will use class like .blog-title now all of the styles goes here. But then you  have to have design .page-title, another heading that might share styles […]

Categories
Opinions

Some Angular Concepts

What do you mean by adding behavior routerLink is a special attribute called directive, they are good at adding behaviors to html element or components. This <a> tag used to link to different page. But now it links to HomeComponent because of routerLink. We changed the behavior of <a> tag. Dependency Injection It’s a design […]