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

Admin508fixes #730

Merged
merged 3 commits into from
Jun 29, 2017
Merged

Admin508fixes #730

merged 3 commits into from
Jun 29, 2017

Conversation

billdacat
Copy link

Further 508 cleanup

@@ -25,7 +25,7 @@

<!-- Create -->
<li role="presentation" <?php if($active=='create'){echo 'class="active"';}?>>
<a data-toggle="tab" href='#general'>
<a role="tab" data-toggle="tab" href='#general'>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think we must add role="tabpanel" after http://accessibility.athena-ict.com/aria/examples/tabpanel2.shtml :)

@@ -698,7 +698,7 @@ if ('ab'.substr(-1) != 'b') {
function linksInDialog()
{
$(function () {
var iframe = $('<iframe id="dialog" allowfullscreen></iframe>');
var iframe = $('<iframe id="dialog" title='+$(this).attr("title")+' allowfullscreen></iframe>');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure of the dynamic iframe real accessibility :. (not RGAA or 508, but : real accessibility ;) )

iframe.contents().find('head').append('<title>'+$(this).attr("title")+'</title>');
$('.ui-dialog-titlebar-close').append('<span class="sr-only">Close</span>');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a LS.Lang. javascript for extending :)

@Shnoulle Shnoulle merged commit 50f593b into LimeSurvey:develop Jun 29, 2017
@billdacat billdacat deleted the admin508fixes branch June 29, 2017 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants