# Pages with role="text"

**URL:** <https://discuss.httparchive.org/t/pages-with-role-text/809>\
**Category:** Analysis\
**Created:** [August 9, 2016, 9:58am UTC](https://discuss.httparchive.org/t/pages-with-role-text/809 "2016-08-09T09:58:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zcorpan](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.httparchive.org/zcorpan/32/659_2.png) [@zcorpan](https://discuss.httparchive.org/u/zcorpan)\
**Post date:** [August 9, 2016, 9:58am UTC](https://discuss.httparchive.org/t/pages-with-role-text/809/1 "2016-08-09T09:58:52Z")

</div>

Related [Usage of ARIA attributes](https://discuss.httparchive.org/t/usage-of-aria-attributes/778/1)

question from James Craig

> Thanks for this. Is there any want to trace back the 421 instances of  
> role=“text” to specific domains? e.g. Can I get more information about  
> where those were used?

```sql
SELECT * FROM (
  SELECT page, url, REGEXP_EXTRACT(LOWER(body), r'(<[a-z-]+\s(?:[^>]+\s)?role\s*=\s*["\']?text(?:[^a-z0-9][^>]*>|>))') AS tag
  FROM [httparchive:har.2016_06_15_chrome_requests_bodies]
) WHERE tag != "null"

```

This query for some reason found 600 matches in the same dataset. I’m not sure why; removing duplicate `url` entries doesn’t bring it down to 421. Anyway, results at

> <https://gist.github.com/zcorpan/02c3dc7d85c54a17c15500a24fc692a9>
