Jump to content
abdu

How to get/obtain value of aria-label attribute using javascript

Recommended Posts

How do we obtain value of aria-label attribute using javascript ?

I  tried

a=document.getElementsByTagName('a');

for (i=0;i<a.length;i++)

if (a[i])

 value=a[i].arialabel;

not work

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×