Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test social icons with a screenreader #27

Open
rmleg opened this issue Sep 23, 2020 · 1 comment
Open

Test social icons with a screenreader #27

rmleg opened this issue Sep 23, 2020 · 1 comment

Comments

@rmleg
Copy link
Owner

rmleg commented Sep 23, 2020

Markup might need updating.

e.g. might want to do:

<a href="..."><span role="img" arial-label="instagram">...

@rmleg
Copy link
Owner Author

rmleg commented Sep 23, 2020

One acceptable method (from Deque) - use when it doesn't matter if the icon is known to be an image:

(I think this is what I have currently, but I should check.)

<p>Enter your username 
   <button id="usernameExample" aria-label="More info about user name" 
      title="More info about user name">
      <span class="fa fa-question-circle" aria-hidden="true">         
      </span>
   </button>
</p>

Another:

<p>
   <a href="#">
      <span class="fa fa-facebook-official fa-2x" role="img" aria-label="Our Facebook page">
      </span>
   </a>
</p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant