{"version":3,"sources":["webpack:///./src/pages/bruksomrader.no.js","webpack:///./src/portal/portal-page/portal-header.js","webpack:///./src/portal/portal-page/portal-footer.js","webpack:///./src/portal/portal-page/portal-page.js","webpack:///./src/portal/portal-page/index.js"],"names":["HowtoPage","location","pageTitle","className","scope","PortalHeader","PortalFooter","language","useLanguage","PAGES","TEXTS","accessibilityToolLinks","value","heading","links","link","title","url","URL","PortalPage","children","mainTagId","id","tabIndex"],"mappings":"uHAAA,yDAMMA,EAAY,SAAC,GAAD,IAAGC,EAAH,kBAChB,iBAAYC,UAAZ,eAAqCD,SAAUA,GAC7C,sBADF,gBAEE,2BACE,sBADF,2BAEE,qBAFF,oGAME,yBACE,2BADF,qBAEE,kBAAIE,UAAU,UACZ,kBAAIC,MAAM,OADZ,aAEE,kBAAIA,MAAM,OAFZ,gBAGE,kBAAIA,MAAM,OAHZ,wBAIE,kBAAIA,MAAM,OANd,gBAQE,sBACE,sBADF,yBAEE,sBAFF,KAGE,sBAHF,SAIE,gCACS,qBADT,6EAEoB,qBAFpB,OAZJ,yHAmBE,sBACE,sBADF,iCAEE,sBAFF,KAGE,sBAHF,SAIE,gDACyB,wBADzB,0DAGE,wBAHF,0FAI6B,wBAJ7B,qCAKM,wBALN,MAvBJ,8BA+BE,sBACE,sBADF,8BAEE,sBAFF,8BAGE,sBAHF,SAIE,sBAnCJ,0RA2CE,sBACE,sBADF,6BAEE,sBAFF,8CAGE,sBAHF,SAIE,sBA/CJ,+YAwDE,sBACE,sBADF,2BAEE,sBAFF,aAGE,sBAHF,SAIE,sBA5DJ,0PAmEE,sBACE,sBADF,oCAEE,sBAFF,KAGE,sBAHF,gBAIE,sBA/ER,wSAyFE,2BACE,sBADF,8BAEE,qBAFF,sGAME,yBACE,2BADF,oBAEE,kBAAID,UAAU,UACZ,kBAAIC,MAAM,OADZ,QAEE,kBAAIA,MAAM,OAFZ,gBAGE,kBAAIA,MAAM,OAHZ,wBAIE,kBAAIA,MAAM,OANd,gBAQE,sBACE,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ent":["import React from \"react\"\nimport * as PropTypes from \"prop-types\"\nimport PortalPage from \"../portal/portal-page\"\n\nimport \"./how-to.css\"\n\nconst HowtoPage = ({ location }) => (\n \n

Bruksområder

\n
\n

How to use this website

\n

\n This website can be used in several ways. In the following, we give you\n a couple of suggestions.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Usage suggestions
ObjectiveRequirementsMin. time estimationDescription
Toggle rules manually-1 min\n Choose Ruleset to see which accessibility rules are on and\n off. (A switch in off position equals accessibility issues.)\n You can either set the rules one by one, or globally with the switch\n on top.\n
Toggle rules programmatically-1 min\n Load this website with ?enableRules=false in the URI to\n disable all rules.\n ?enableRules=true in the URI enables all rules. You can\n also use the shortcut path v1 to switch on all rules\n and v2 to switch off all rules.\n
A11Y failure demonstrationDeveloper tools, HTML, CSS5 min\n Visit an arbitrary page, then play with the toggles of your choice\n in the settings menu while watching the markup in your browser's\n developer tools as failures are injected into the page or taken\n away. Some errors may become visible in the graphical user\n interface, others not.\n
Failure impact evaluationAssistive technology (screen reader, etc.)5 min\n Visit an arbitrary page with the desired assistive technology and\n turn on / off A11Y failures of your choice in the settings menu.\n Study what impact the injection of A11Y failures has with regard to\n what content can or cannot be accessed, and potentially how the user\n experience changes. The aforementioned can also be carried out in\n combination with impairment simulation tools, or real users.\n
A11Y checker validationHTML, CSS5 min\n Pick a page and adjust the injection of A11Y failures as desired.\n Then pass the static page URI as computed to the accessiblity\n checker of your choice to study whether the A11Y failures are\n properly detected. Count false positives and negatives.\n
User test baseline determination-hours - days\n Pick an audit metric such as SUS. Then calculate the metric for the\n solution you need to assess, as well as for this website, by letting\n users test both as part of task assignments. Determine the chosen\n metric(s) for each user. Compare both metrics with each other for\n various user groups.\n
\n
\n
\n

How to extend this website

\n

\n The project / website can be extended in multiple ways. Here, we give\n you a couple of suggestions.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Task suggestions
TaskRequirementsMin. time estimationDescription
Add more accessibility failuresgit, WCAG, ...2 dGet the repository and ...
Add one or several languagesgit, JSON1 d\n Get the repository and add language strings as done with the other\n languages in the language string JSON.\n
Add more products / clothesgit, JSON2 h\n First get the repository. Decide which product categories you want\n to add. See the type fields in{\" \"}\n src/data/products.js for existing categories. For each\n new product, copy the picture to src/images/products/,\n then add another object in the array of products in{\" \"}\n products.js according to the structure of existing\n objects. Before you go live, do not forget to add the appropriate\n objects in the array of credits in src/data/credits.js.\n
Add other pagesgit, Node, Javascript, React, JSXMin. 1 d\n Get the repository and copy one of the other pages in{\" \"}\n src/pages or src/page-templates, then\n modify the copy as needed.\n
Modify existing pagesgit, Node, Javascript, React, JSX2-5 dGet the repository and ...
\n
\n
\n)\n\nHowtoPage.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string,\n }),\n}\n\nexport default HowtoPage\n","import React from \"react\"\n\nimport Container from \"../../components/container\"\nimport Logo from \"../../components/logo\"\n\nconst PortalHeader = () => {\n return (\n
\n
\n \n \n \n
\n {/** \n \n */}\n
\n )\n}\n\nexport default PortalHeader\n","import React from \"react\"\nimport Container from \"../../components/container\"\nimport HeadingLevelContext from \"../../components/semantic-heading/heading-level-context\"\nimport TEXTS from \"../../data/texts\"\nimport Navigation from \"../../components/navigation\"\nimport { useLanguage } from \"../../components/language\"\n\nconst PortalFooter = () => {\n const { language } = useLanguage()\n const PAGES = TEXTS[language].PAGES\n const accessibilityToolLinks = [\n PAGES.ABOUT,\n PAGES.CREDITS,\n PAGES.HOW_TO,\n PAGES.SETTINGS,\n ]\n return (\n \n \n \n )\n}\n\nexport default PortalFooter\n","import React from \"react\"\nimport * as PropTypes from \"prop-types\"\n\nimport Container from \"../../components/container\"\nimport { LanguageSupport } from \"../../components/language\"\nimport LocationContext from \"../../components/location-context\"\nimport HeadingLevelContext from \"../../components/semantic-heading/heading-level-context\"\nimport { Main } from \"../../components/semantic-region\"\nimport SEO from \"../../components/seo\"\nimport SkipLink from \"../../components/skip-link\"\nimport PortalHeader from \"./portal-header\"\nimport PortalFooter from \"./portal-footer\"\n\nimport \"../../components/layout/normalize.css\"\nimport \"../../components/layout/base.css\"\n\nconst PortalPage = ({ children, location, pageTitle }) => {\n return (\n \n \n \n \n
\n \n \n
\n {children}\n
\n \n
\n
\n
\n
\n )\n}\n\nPortalPage.propTypes = {\n children: PropTypes.element,\n location: PropTypes.shape({\n pathname: PropTypes.string,\n }),\n pageTitle: PropTypes.string,\n}\n\nexport default PortalPage\n","import PortalPage from \"./portal-page\"\n\nexport default PortalPage\n"],"sourceRoot":""}