Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sergio N. Castro 4 posts 84 karma points
    Feb 06, 2021 @ 13:42
    Sergio N. Castro
    0

    Two Html versions of the same site with only one umbraco installation

    Hi everyone!

    I'm doing my first umbraco site, and I love umbraco. It's awesome.

    This site is gubernamental and I need to build an accessible version for people with special conditions. This site must compliant the AA Level Conformance of the W3C

    I would like to know if is possible to use the same umbraco installation with to diferent templates (one normal, and one with the AA Level regulations) and wich would be the best approach to do it.

    I've thinking that I could use the same database, a virtual path for media files, on the second site, and a new template for this site, but I don't know if It is possible to do.

    I appreciate a lot your help, because I don't find any ideas about how to deal with this situation.

    Thanks in advance! Sergio.

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Feb 06, 2021 @ 14:59
    Dan Diplo
    100

    Firstly, why make two versions? Shouldn't accessibility be for everyone and not something you opt into?

    However, if you really require this, then it's quite possible for a single Umbraco document type to have multiple templates and you can swap between these programmatically.

    https://umbraco.tv/videos/umbraco-v8/implementor/fundamentals/templating/alternative-templates/

    https://our.umbraco.com/Documentation/Reference/Routing/Request-Pipeline/IContentFinder

    It's also possible to have two sites side by side in the same installation (ie. two home pages) and serve different content this way.

    However, I'd question why you just don't make the site accessible for everyone?

  • Sergio N. Castro 4 posts 84 karma points
    Feb 06, 2021 @ 18:12
    Sergio N. Castro
    0

    Hello dan!

    First of all, thanks for your help !! I really appreciate it.

    About your question of why make two different versions, to be honest, this has been my first idea, because I don't know much about web accessibility, I am still learning about it, but I have thought that if I apply the AA level to my website, it will lose part of javascript functionality, and i don't like that.

    My idea is to apply all the accessibility requirements to the initial version, which does not involve the loss of functionalities, and develop the other version fully accessible, even reaching the AAA level.

    But the project are still in development fase and I haven't decided how will be the finally approch.

    Knowing that, Wich do you think would be the best approch, in your oppinion?

    Again, thank you for your apprecieted help and have a very nice day! Sergio.

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Feb 06, 2021 @ 20:26
    Dan Diplo
    1

    Hi. You can still use JavaScript and be accessible. Screen readers etc. can all process JavaScript fine. See:

    https://webaim.org/techniques/javascript/

    With that in mind I think you'll find it much easier to simply make one version, with accessibility baked in. That would be my strong recommendation based on building accessible websites.

    Here's a good guide to what to do: https://www.w3.org/WAI/WCAG21/quickref/ Good luck!

  • Sergio N. Castro 4 posts 84 karma points
    Feb 08, 2021 @ 09:47
    Sergio N. Castro
    0

    Hi Dan!

    Thank you so much for your help.

    Those links will be very usefull for me.

    Kind regards and have a nice day! Sergio.

Please Sign in or register to post replies

Write your reply to:

Draft