{"id":398,"date":"2020-02-12T16:13:56","date_gmt":"2020-02-12T16:13:56","guid":{"rendered":"http:\/\/lotusithub.com\/blog\/?p=398"},"modified":"2020-02-12T16:13:56","modified_gmt":"2020-02-12T16:13:56","slug":"accessibility-issues-in-the-angular-js-application","status":"publish","type":"post","link":"https:\/\/lotusithub.com\/blog\/accessibility-issues-in-the-angular-js-application\/","title":{"rendered":"Accessibility Issues In The Angular JS Application"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Angular JS is a JavaScript-based open-source front-end web framework introduced by Google for developing single-page applications. While learning to develop single-page Angular JS Application at <\/span><b><a href=\"https:\/\/lotusithub.com\/angularjs-training-in-pune.html\">Angular JS classes in Pune<\/a>, <\/b><span style=\"font-weight: 400;\">focused elements are the software architecture, performance, security, testability, and maintainability of the software but not the accessibility. Besides taking it for granted the Google experts are developing high-quality Angular Components and the Angular CDK (Component Development Kit), for several tools to improve accessibility.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-399 aligncenter\" src=\"https:\/\/growbizzserver.in\/lotusithub\/blog\/wp-content\/uploads\/2020\/02\/WhatsApp-Image-2020-02-11-at-9.50.24-PM.jpeg\" alt=\"Angular JS training institute in Pune\" width=\"1080\" height=\"1080\" srcset=\"https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/02\/WhatsApp-Image-2020-02-11-at-9.50.24-PM.jpeg 1080w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/02\/WhatsApp-Image-2020-02-11-at-9.50.24-PM-300x300.jpeg 300w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/02\/WhatsApp-Image-2020-02-11-at-9.50.24-PM-1024x1024.jpeg 1024w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/02\/WhatsApp-Image-2020-02-11-at-9.50.24-PM-150x150.jpeg 150w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/02\/WhatsApp-Image-2020-02-11-at-9.50.24-PM-768x768.jpeg 768w, https:\/\/lotusithub.com\/blog\/wp-content\/uploads\/2020\/02\/WhatsApp-Image-2020-02-11-at-9.50.24-PM-585x585.jpeg 585w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><\/span><\/p>\n<h2><b>How Angular and Angular CDK assist developers in solving accessibility issues?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the Angular JS accessibility starts from the UI design phase where color palates are decided to meet the accessibility standards. With the use of right typography, simple animations and user interaction can reduce the error intensity in reading and understanding the application. The angular CDK provides a mixin CDK-high-contrast to style high contrast mode users. At <\/span><b>the <a href=\"https:\/\/lotusithub.com\/angularjs-training-in-pune.html\">Angular JS course in Pune<\/a>, <\/b><span style=\"font-weight: 400;\">users will learn a variety of assistive technologies to interact with web-based software applications.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">\u00a0<\/span><b>Accessibility attributes\u00a0\u00a0<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">ARIA attribute is involved to provide web-accessible semantic &amp; the attribute binding template syntax that control the values of accessibility-related attributes.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">content_copy&lt;!&#8211; Use attr. when binding to an ARIA attribute &#8211;&gt;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&lt;button [attr.aria-label]=&#8221;myActionLabel&#8221;&gt;&#8230;&lt;\/button&gt;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The syntax is used for attribute bindings. Static ARIA attributes require no extra syntax.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">content_copy&lt;!&#8211; Static ARIA attributes require no extra syntax &#8211;&gt;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&lt;button aria-label=&#8221;Save document&#8221;&gt;&#8230;&lt;\/button&gt;<\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\"><br \/>\n<a class=\"maxbutton-3 maxbutton maxbutton-enroll-now\" href=\"https:\/\/www.lotusithub.com\/contact.html\"><span class='mb-text'>ENROLL NOW<\/span><\/a><\/span><\/p>\n<h3><b>Angular UI components<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The enrolled candidate will come to know about the Angular material library at <\/span><a href=\"https:\/\/lotusithub.com\/angularjs-training-in-pune.html\"><b>Angular JS classes in Pune<\/b><\/a><span style=\"font-weight: 400;\"> The suite of reusable UI components used with the native HTML elements with the standard interaction patterns that are important to accessibility. Live Announcement is one of the most important features provided by angular CDK in the applications for the visually impaired users on various social places.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">LiveAnnouncer is used to announce messages as a standard interaction pattern for screen-reader users using an aria-live region.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, create a component that uses an attribute selector with a native &lt;button&gt; element. That applies to &lt;button&gt; and &lt;a&gt;, but can be used with many other types of element.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Example: MatButton, MatTabNav, MatTable.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<h2><b>Using containers for native elements<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">The appropriate native element requires a container element. For example, the native &lt;input&gt; element cannot have children, so custom text entry components need to wrap an &lt;input&gt; with additional elements. This makes it impossible for users of the component to set arbitrary properties and attributes to the input element by creating a container component that uses content projection to include the native control in the component\u2019s API.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Example &#8211; MatFormField<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<h2><b>Use of Semantic HTML<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">With the help of native elements, the proper semantics accessibility issues can be solved to boost-up the SEO of the application. Here semantic tags like nav, aside, main, section, fieldset, header, footer, etc. come in use instead of just using div and span.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Use the correct order for headings (h1-h6).\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Use alt attribute on img element.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Use alt attribute on img element.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Use button\u2019s for clickables.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Avoid positive tabindex .<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Add captions for video and audio.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><b>Accessibility for interactions<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Keyboard navigation is specially designed for motor disabilities and will help users navigate websites using just a keyboard. Angular CDK provides ListKeyManager for keyboard interaction using components like menus, dropdowns, selects, list boxes, etc.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<h3><b>Codelyzer and accessibility<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">In all the Angular CLI projects Codelyzer is used to detect a few common accessibility issues in Angular templates.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><b>Conclusion<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Accessibility is a must for all web applications and it should be considered in the project development lifecycle. The<\/span><a href=\"https:\/\/lotusithub.com\/angularjs-training-in-pune.html\"><b> Angular JS training institute in Pune<\/b><\/a><span style=\"font-weight: 400;\"> will make the tools available to create Accessible Components, for developers to utilize them and create accessible Angular applications.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At LotusITHub\u2019s <\/span><a href=\"https:\/\/lotusithub.com\/angularjs-training-in-pune.html\"><b>Angular JS classes in Pune<\/b><\/a><span style=\"font-weight: 400;\">, aspirants can learn to build the application using the trending technologies and can work on all upgraded versions. The training sessions and live project demo will help the candidates to get the live experience before entering into the actual industry. We have our branches at all the vertices of Pune, you can visit us at Karve Nagar, Warje, Narhe, Dhayari, and Kothrud. Click on the <\/span><a href=\"https:\/\/www.lotusithub.com\"><span style=\"font-weight: 400;\">www.lotusithub.com<\/span><\/a><span style=\"font-weight: 400;\"> for a brief introduction and visit us to book your seat now.<\/span><\/p>\n<p style=\"text-align: center;\"><a class=\"maxbutton-2 maxbutton maxbutton-enroll-now\" href=\"https:\/\/www.lotusithub.com\/contact.html\"><span class='mb-text'>Request For Call Back<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Angular JS is a JavaScript-based open-source front-end web framework introduced by Google for developing single-page&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[33,34,37,38,41,42],"class_list":["post-398","post","type-post","status-publish","format-standard","hentry","category-angularjs","tag-angular-js-classes","tag-angular-js-classes-in-pune","tag-angular-js-course","tag-angular-js-course-in-pune","tag-angular-js-training-institute","tag-angular-js-training-institute-in-pune"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":0,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"wp:attachment":[{"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lotusithub.com\/blog\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}