crawl4ai icon indicating copy to clipboard operation
crawl4ai copied to clipboard

addition keep-aria-label-attribute option

Open dar0xt opened this issue 1 year ago • 3 comments

Add keep aria label attribute option.

dar0xt avatar Jan 06 '25 07:01 dar0xt

@dar0xt Thanks for your contribution. Could you please elaborate on the purpose/benefits of this PR?

Given that primary purpose of aria labels is to provide a text label for improving accessibility for users relying on assistive technologies like screen readers. And Crawl4AI's output is for consumption by LLMs, how does keeping aria labels benefit our users?

aravindkarnam avatar Jan 22 '25 05:01 aravindkarnam

@aravindkarnam Some sites contain important information in aria-labels, and without this option, information could be missing. So it would be helpful to have this option available as a selectable feature.

dar0xt avatar Jan 22 '25 16:01 dar0xt

@dar0xt This is an interesting suggestion. I will add it to the backlog and return to it soon after I finish some other critical PRs. In the meantime, please join our Discord and help us improve the library. Thanks.

unclecode avatar Jan 25 '25 12:01 unclecode