Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap Edges in button tags (Accessibility) #751

Open
BenAndrews90 opened this issue Jul 22, 2024 · 0 comments
Open

Wrap Edges in button tags (Accessibility) #751

BenAndrews90 opened this issue Jul 22, 2024 · 0 comments

Comments

@BenAndrews90
Copy link

I have been following https://dabeng.github.io/OrgChart/custom-template.html which allows me to customise the template of the node. I have found that I am unable to customise the "edges" (Top, Right, Bottom, Left) which show/hide parents, siblings and children nodes. I would like to create a <button> which wraps around the the HTML of these "edges" as they output HTML of <i> tags, for accessibility purposes so keyboard users can focus onto the "edges/buttons" to show/hide parents, siblings and children nodes.

Is there anything I can do other than downloading the RAW JS file and customising the parts in the file that say to create an <i> tag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant