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

Accessibility link in footer to meet 508 Compliance required by NASA #46

Closed
cowen23 opened this issue Mar 19, 2024 · 2 comments
Closed

Comments

@cowen23
Copy link

cowen23 commented Mar 19, 2024

Environment

  • VMware virtual machine - Machine or Virtual Machine details: (VirtualBox, VMWare, Digital Ocean, AWS, etc)
  • redhat-release-eula-8.9-0.1.el8.x86_64 - Operating System: (run cat /etc/redhat-release and report output)
  • a38b6e0 - meza version hash: (run cd /opt/meza && git rev-parse --short HEAD and report output)

Issue details

Agency-IT-Outreach sent email on 3/12/24 from Chief Information Officer stating all NASA web sites, both internal and external require a link to NASA's accessibility statement, located at https://www.nasa.gov/accessibility/ in the footer.

One solution could be to:

  1. Add the following to the localsettings.php page:
    $wgHooks['SkinAddFooterLinks'][] = function ( Skin $skin, string $key, array &$footerlinks ) {
    if ( $key === 'places' ) {
    $footerlinks['508link'] = Html::rawElement( 'a',['href' => 'https://www.nasa.gov/accessibility/','rel' => 'noreferrer noopener'],$skin->msg( 'Accessibility-link' )->text());
    };
    };

  2. Then create a new page at https:///index.php?title=MediaWiki:Accessibility-link and just drop the word ‘Accessibility’ in it.

@ndc-rkevans
Copy link
Contributor

fixed in 39.x with 1697c20

@ndc-rkevans
Copy link
Contributor

fixed in 39.x with 1697c20

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