Archive for the "AngularJS" Topic

Setting Focus in Angular 2

Posted on:

Setting focus in Angular 2 requires working with native DOM elements. While this is possible, the documentation recommends against doing so. But making ARIA widgets keyboard accessible requires focus management. So it looks like we have a choice between two APIs, ElementRef and Renderer. First we will look at ElementRef. At this time, it is designated as stable but also a security risk as seen below: Permitting direct access to the DOM can make your application more vulnerable to XSS attacks. Carefully review any use of ElementRef in your code. The built-in browser DOM APIs do not automatically protect you from security vulnerabilities…. Read More

Put yourself on the path to complete accessibility!

Just fill out the form below and we’ll contact you to set up your free consultation with an expert specializing in your industry.

If you need more immediate assistance, please send an email to or call (800) 889-9659. We look forward to helping you!