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

I think this plugin is creating ADA issues with the social media links module #81

Open
mrbm opened this issue Mar 24, 2023 · 1 comment

Comments

@mrbm
Copy link
Contributor

mrbm commented Mar 24, 2023

I started reviewing the social media module and why it keeps getting contrast errors vs the demo sites on divi not having. contrast errors.

Upon reviewing the rendered code...on this area of code:
<span class="et_pb_social_media_follow_network_name" aria-hidden="true">Facebook</span>

.da11y-screen-reader-text, .et_pb_contact_form_label, .et_pb_search .screen-reader-text, .et_pb_social_media_follow_network_name, .widget_search .screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    -webkit-font-smoothing: subpixel-antialiased;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
    font-size: 1em;
    font-weight: 600;
    height: 1px;
    letter-spacing: normal;
    line-height: normal;
    overflow: hidden;
    position: absolute!important;
    text-shadow: none;
    text-transform: none;
    width: 1px;
}
.et_pb_contact_form_label, .et_pb_search .screen-reader-text, .et_pb_social_media_follow_network_name, .widget_search .screen-reader-text {
    display: block!important;
}

Any ideas?

@gjeflec
Copy link

gjeflec commented Mar 24, 2023 via email

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

No branches or pull requests

2 participants