UserWay

Messtone LLC Manages Devices Enables UserWay account <head>https://www.messtonecoms.comtag<script src=”https://cdn.userway.org/widget.js”data-account=HJbVJq8Ufm”></script>UserWayAnalysis Default config:userwayAnalysis(page,{strict: true,level:’AA’,}) UserWayAnalysis(page, {strict:false,}).then((res)=>{expect(res.violations).to.have.length(0)}) Example //save html report and screenshots userwayAnalysis(page,{saveReport: ‘html’,elementScreenshots:true,})//Enable all rules userwayAnalysis(page,{level: ‘AAA’,includeBestPractices:true,includeExperimental:true,})//Enables rules from includeaRules parameters only userwayAnalysis+page,{level:null,includeRules:[‘duplicate-id’,’color-contrast’],})//Disable all rules userwayAnalysis(page,{level:null,}) //Manually assert userwayAnalysis(page,{strict:false}).then((res)=>{const{fullReport, violations}=res //Log the full report console.log(fullReport)//Assert expect(violations.to.have.length(0)})