Hi Jaya

1. Installing 'ngARIA' module to address accessibility for SPA's developed 
> using Angular JS
>
ngAria is an angularJS depedency (1.x). If you are on that, yes use this 
module.
 

2. Just to use native elements along with ARIA attributes.
> Can SPA's be made accessible using only ARIA and native elements like 
> buttons and links etc.
>
Yes, this can be done, and actually is the best way to go. If you use 
native elements, you don't even have to add so much aria attributes, as the 
defaults make good sense in there.
If you want to extend the functionality of a native element, use directives 
to augment native element. 
Also, if you really want to embrace aria, you might consider using 
aria-attributes to do your styling. I have given this advise more often, 
Adam picked up on this and that is the reason ionic does just that :-)
What I mean by using aria-attributes for styling is something like this:

Lets say you have to create a style to hide something. The correct way to 
do that is something like this:

[aria-hidden=true] {
  visibility: hidden
}
// a tree-item could be styled as:
[role=treeitem] { ...}

this is something simple to do for a new project, and it will bring styling 
and aria in line. 

Regards
Sander



-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to