Skip to content

InternetKungen/wcag-hoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Implementation of WCAG HOC

To integrate the WCAG Higher-Order Component (HOC) into your project, follow these steps:

  1. Import withAccessibility from the /hoc/withAccessibility.jsx file into your higher-level component (e.g., App.jsx).
  2. Wrap your component with the HOC during export, as shown below:
import withAccessibility from "./hoc/withAccessibility";

const App = () => {
  // Your component logic here
};

export default withAccessibility(App);

About

Higher-order component solution adding accessibility to wrapped React component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published