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

[Feature Request]: Add support for links in the treeview/treenode component #18408

Open
1 task done
Tweakified opened this issue Jan 23, 2025 · 2 comments · May be fixed by #18409
Open
1 task done

[Feature Request]: Add support for links in the treeview/treenode component #18408

Tweakified opened this issue Jan 23, 2025 · 2 comments · May be fixed by #18409

Comments

@Tweakified
Copy link

The problem

Currently there is no way to make a tree node contain an accessible link, meaning the TreeView cannot be used for navigation.

The solution

If a node contains a link, it should contain an anchor tag which directs the user to the page.
Following the APG example, a tree node containing a link should follow the structure:

<li role="none">
    <a role="treenode" href="/link" .... />
    <ul role="group">
        children....

Examples

APG navigation example

Application/PAL

IBM z/OS Connect

Business priority

Medium Priority = upcoming release but is not pressing

Available extra resources

Raised PR

Code of Conduct

Copy link
Contributor

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

@Tweakified
Copy link
Author

Please refer to slack discussion: https://ibm-uk-labs.slack.com/archives/C2K6RFJ1G/p1736333013380109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Development

Successfully merging a pull request may close this issue.

2 participants