Skip to content

Commit

Permalink
Merge branch 'master' of github.com:caneveryoneusetemp/caneveryoneuse…
Browse files Browse the repository at this point in the history
…_tool
  • Loading branch information
dhanukanuwan committed Mar 17, 2024
2 parents 19d1515 + f6589c1 commit 01c3048
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 70 deletions.
Binary file added public/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ body {
-moz-osx-font-smoothing: grayscale;
}

.App {
background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(249, 234, 244, 0.67) 0.1%, rgba(251, 239, 249, 0.63) 90.1% );
min-height: 100vh;
display: flex;
flex-direction: column;
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
Expand Down
11 changes: 11 additions & 0 deletions src/json/antdesign.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
]
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/modal"
Expand Down Expand Up @@ -53,6 +54,7 @@
"errors": []
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/collapse"
Expand All @@ -64,6 +66,7 @@
"errors": []
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/carousel"
Expand Down Expand Up @@ -94,6 +97,7 @@
]
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/slider"
Expand All @@ -105,6 +109,7 @@
"errors": []
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/input"
Expand All @@ -126,6 +131,7 @@
]
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/switch"
Expand All @@ -147,6 +153,7 @@
]
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/table"
Expand All @@ -158,6 +165,7 @@
"errors": []
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/tooltip"
Expand All @@ -169,6 +177,7 @@
"errors": []
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/alert"
Expand All @@ -190,6 +199,7 @@
]
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/auto-complete"
Expand All @@ -211,6 +221,7 @@
]
},
"manual_testing": {
"total_issues": 0,
"errors": []
},
"preview_link": "https://ant.design/components/form"
Expand Down
28 changes: 15 additions & 13 deletions src/json/material-angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
"total_issues": 0
},
"manual_testing": {
"total_issues": 4,
"errors": [
"total_issues": 0,
"errors": [],
"requirements": [
{
"error_type": "4.1.2 Name, Role, Value",
"description": "Provide an accessible label for the select.",
Expand Down Expand Up @@ -77,24 +78,25 @@
"Axe": {
"total_issues": 0
},
"manual_testing": {
"total_issues": 2,
"preview_link": "https://material.angular.io/components/expansion/examples"
},
{
"name": "Slider",
"Axe": {
"total_issues": 1,
"errors": [
{
"error_type": "TypeError",
"description": "",
"fix": "This is how to fix it",
"error_type": "4.1.2 Name, Role, Value",
"description": "Provide an accessible label for the select.",
"fix": "Can be done by adding a <mat-label> inside of <mat-form-field>, the aria-label attribute, or the aria-labelledby attribute.",
"wcag": {
"version": "version",
"success_criteria": "success criteria"
"version": "2.2",
"success_criteria": "https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html"
}
},
{
"error_type": "ValueError"
}
]
},
"preview_link": "https://material.angular.io/components/expansion/examples"
"preview_link": "https://material.angular.io/components/slider/examples"
}
]
}
30 changes: 23 additions & 7 deletions src/json/mui.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-mui",
"slug": "mui-react-material-ui-components",
"name": "MUI - React Material UI components",
"slug": "react-mui",
"version": "5.15.13",
"components": [
{
Expand All @@ -17,35 +17,51 @@
"success_criteria": "https://www.w3.org/TR/WCAG22/#labels-or-instructions"
}
}
],
"requirements": [
{
"error_type": "3.3.2 Labels or Instructions",
"description": "The field is required but is missing aria-required=\"true\"",
"fix": "Add the aria-required=\"true\" label to all required fields",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/TR/WCAG22/#labels-or-instructions"
}
}
]
},
"manual_testing": {
"total_issues": 0,
"errors": []
"errors": [],
"requirements": []
},
"preview_link": "https://mui.com/material-ui/react-dialog/"
},
{
"name": "Select",
"Axe": {
"total_issues": 0,
"errors": []
"errors": [],
"requirements": []
},
"manual_testing": {
"total_issues": 0,
"errors": []
"errors": [],
"requirements": []
},
"preview_link": "https://mui.com/material-ui/react-select/"
},
{
"name": "Accordion",
"Axe": {
"total_issues": 0,
"errors": []
"errors": [],
"requirements": []
},
"manual_testing": {
"total_issues": 0,
"errors": []
"errors": [],
"requirements": []
},
"preview_link": "https://mui.com/material-ui/react-accordion/"
}
Expand Down
108 changes: 65 additions & 43 deletions src/json/template.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,67 @@
{
"name": "Name of framework",
"slug": "name-of-framework",
"version": "1.0.0",
"components": [
{
"name": "example_component",
"Axe": {
"total_issues": 1,
"errors": [
{
"error_type": "TypeError",
"description": "",
"fix": "This is how to fix it",
"wcag": {
"version": "version",
"success_criteria": "success criteria"
}
},
{
"error_type": "ValueError"
}
]
},
"manual_testing": {
"total_issues": 2,
"errors": [
{
"error_type": "TypeError",
"description": "",
"fix": "This is how to fix it",
"wcag": {
"version": "version",
"success_criteria": "success criteria"
}
},
{
"error_type": "ValueError"
}
]
},
"preview_link": "https://mui.com/material-ui/react-dialog/"
}
]
"name": "Name of framework",
"slug": "name-of-framework",
"version": "1.0.0",
"components": [
{
"name": "example_component",
"Axe": {
"total_issues": 1,
"errors": [
{
"error_type": "WCAG name",
"description": "Describe the error",
"fix": "This is how to fix it",
"wcag": {
"version": "version",
"success_criteria": "success criteria"
}
},
{
"error_type": "ValueError"
}
],
"requirements": [
{
"error_type": "3.3.2 Labels or Instructions",
"description": "The field is required but is missing aria-required=\"true\"",
"fix": "Add the aria-required=\"true\" label to all required fields",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/TR/WCAG22/#labels-or-instructions"
}
}
]
},
"manual_testing": {
"total_issues": 2,
"errors": [
{
"error_type": "TypeError",
"description": "",
"fix": "This is how to fix it",
"wcag": {
"version": "version",
"success_criteria": "success criteria"
}
},
{
"error_type": "ValueError"
}
],
"requirements": [
{
"error_type": "3.3.2 Labels or Instructions",
"description": "The field is required but is missing aria-required=\"true\"",
"fix": "Add the aria-required=\"true\" label to all required fields",
"wcag": {
"version": "2.2",
"success_criteria": "https://www.w3.org/TR/WCAG22/#labels-or-instructions"
}
}
]
},
"preview_link": "https://mui.com/material-ui/react-dialog/"
}
]
}
16 changes: 9 additions & 7 deletions src/partials/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ import React from 'react';
const Header = () => {
return (
<header className="header py-3 py-lg-4">

<nav className="navbar navbar-expand-lg bg-body-tertiary">
<div className="container">
<a className="navbar-brand" href="/">Can Everyone Use</a>
<nav className="navbar navbar-expand-lg">
<div className="container bg-white p-4 px-5 rounded-4">
<a className="navbar-brand" href="/"><img height="50" width="251" src="./images/logo.png" alt="Logo"/></a>
<button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mainNavBar" aria-controls="mainNavBar" aria-expanded="false" aria-label="Toggle navigation">
<span className="navbar-toggler-icon"></span>
</button>
<div className="collapse navbar-collapse" id="mainNavBar">
<ul className="navbar-nav ps-lg-4 me-auto mb-2 mb-lg-0">
<div className="collapse navbar-collapse justify-content-end" id="mainNavBar">
<ul className="navbar-nav ps-lg-4 mb-2 mb-lg-0 font-weight-bold">
<li className="nav-item">
<a className="nav-link active" aria-current="page" href="https://caneveryoneuse.com/"><strong>ABOUT</strong></a>
</li>
<li className="nav-item">
<a className="nav-link active" aria-current="page" href="https://caneveryoneuse.com/">About</a>
<a className="nav-link active" aria-current="page" href="https://github.com/caneveryoneusetemp" target="_blank" rel="noreferrer"><strong>GITHUB</strong></a>
</li>
</ul>
</div>
Expand Down

0 comments on commit 01c3048

Please sign in to comment.