-
Notifications
You must be signed in to change notification settings - Fork 44
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
[FEATURE] Add aria-attributes to social icons #341
[FEATURE] Add aria-attributes to social icons #341
Conversation
hputzek
commented
Nov 3, 2017
- Add aria label to link
- hide icon from screenreaders
* Add aria label to link * hide icon from screenreaders
</f:then> | ||
<f:else> | ||
<a class="social-icons__item" href="{theme:constant(constant:'themes.configuration.socialmedia.xingLink')}" | ||
target="_blank" title="Xing"><span class="icons icon-t3-xing"></span></a> | ||
target="_blank" title="Xing" aria-label="Xing"><span aria-hidden="true" class="icons icon-t3-xing"></span></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change so that the indent is 1 space instead of 2.
</f:else> | ||
</f:if> | ||
</f:if> | ||
<f:if condition="{theme:constant(constant:'themes.configuration.socialmedia.useVimeo')}"> | ||
<f:if condition="{settings.vimeoLink}"> | ||
<f:then> | ||
<a class="social-icons__item" href="{settings.vimeoLink}" | ||
target="_blank" title="Vimeo"><span class="icons icon-t3-vimeo"></span></a> | ||
target="_blank" title="Vimeo" aria-label="Vimeo"><span aria-hidden="true" class="icons icon-t3-vimeo"></span></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change so that the indent is 1 space instead of 2.
</f:then> | ||
<f:else> | ||
<a class="social-icons__item" href="{theme:constant(constant:'themes.configuration.socialmedia.vimeoLink')}" | ||
target="_blank" title="Vimeo"><span class="icons icon-t3-vimeo"></span></a> | ||
target="_blank" title="Vimeo" aria-label="Vimeo"><span aria-hidden="true" class="icons icon-t3-vimeo"></span></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change so that the indent is 1 space instead of 2.
remove obsolete space between attributes in affected tags
I removed the obsolete spaces now, thanks for your hint. |