Skip to content

[Bug]: Accessibility Issue: Login/Register modules have empty <ul> element #7174

@DanielBolef

Description

@DanielBolef

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

The Login/Register modules have an empty

    element for SSO logins when none are configured for the site. You can find it by searching for the dnnSocialRegistration HTML class. This creates an accessibility problem as it can confuse screen readers. When there are no SSOs to list, the list element should not be present on the page, even if it has display: none;

    Steps to reproduce?

    1. Add the Account Login module to a page
    2. Have no SSO auth on the site
    3. You can find it by searching the HTML for the class dnnSocialRegistration

    Current Behavior

    No response

    Expected Behavior

    No response

    Relevant log output

    <div class="dnnSocialRegistration">
        <div id="socialControls">
            <ul class="buttonList">
                
            </ul>
        </div>
    </div>

    Anything else?

    No response

    Affected Versions

    10.3.0 (latest release)

    What browsers are you seeing the problem on?

    Chrome

    Code of Conduct

    • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions