Skip to main content

Posts

Showing posts with the label HTML5

Navigating WCAG 2.1: A Step-by-Step Approach for Developers

 Get Familiar with WCAG 2.1: WCAG 2.1 is like the rulebook for web accessibility. It's split into four parts: Perceivable, Operable, Understandable, and Robust (POUR). For instance, "Perceivable" includes rules like giving all images a text description (alt text) for folks who can't see them.  Run an Accessibility Audit: Use tools like Google Lighthouse or WAVE to scan your site. They'll flag up stuff like missing alt text, low color contrast, or form fields without labels.  Manual Testing: Automated tools can't catch everything. You'll need up roll to your sleeves and do some manual testing. Try navigating your site using only your keyboard, or using a screen reader like NVDA or VoiceOver. You're checking that all content and functionality is accessible.   Write an Accessibility Statement: This is a page on your site where you talk about your commitment to accessibility. You could mention that you're aiming for WCAG 2.1 Level AA compliance, lis...

ADAPTIVE VS RESPONSIVE DESIGN

Adaptive Vs Responsive design Obective of both the approach is same to make your page works in any device and resolutions. For repsonsive design respond to the size of the browser at any given point. No matter what the browser width may be, the site adjusts its layout in a way that is optimized to the screen. In case of Adaptive design Adaptive design adapt to the width of the browser at a specific points. In other words, the website is only concerned about the browser being a specific width, at which point it adapts the layout. Responsive - Adapts at anytime any resolutions and any device. jQuery( window ).resize(function() { jQuery(div).html( jQuery( window ).width() ); }); Adaptive - Adapts at specific given point. @media screen and (max-width: 300px) { div { width: 200px; } }

FEW NICE FEATURES OF HTML5

Few nice features of HTML5 HTML5 is providing so many different useful features. without doubt its making web developer life easy. Some of the cool features I've listed below No Need for any XHTML DOCTYPE definition anymore. Your webpage can work without this. Video tag: You can embed video without third-party proprietary plug-ins or codec. Video becomes as easy as embedding an image. Your browser is old. Download this video instead. Audio tag: You can also embed Audio without third-party proprietary plug-ins. Download this file. Semantic tags: There is no need to remember those messy way of codding for web developers. HTML5 comes with very big list of semantic tags. Local Storage: This nice features allows in HTML5 allow you to save or remember everything you type even after you refresh or close the browser. Works nicely in modern ...