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

WCAG / ADA Compliance Issue from Malformed <UL> HTML #418

Open
tonydjukic opened this issue Apr 26, 2023 · 0 comments
Open

WCAG / ADA Compliance Issue from Malformed <UL> HTML #418

tonydjukic opened this issue Apr 26, 2023 · 0 comments

Comments

@tonydjukic
Copy link

When building the code for the $pager variable on line 68 in responsiveslides.js the <ul> tag for the pager isn't closed properly.

You have:

$pager = $("<ul class='" + namespace + "_tabs " + namespaceIdx + "_tabs' />"),

Whereas I believe the correct code should be:

$pager = $("<ul class='" + namespace + "_tabs " + namespaceIdx + "_tabs'></ul>"),

The current code results in an empty <ul></u> being included immediately after the opening <ul> as follows...

<ul class="rslides_tabs rslides1_tabs">
    <ul></ul>

This triggers some WCAG alerts in different scanning utilities.

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

1 participant