# Why "View single document" is "button" tag in HTML and not a "a" tag with URL?

**URL:** <https://discuss.elastic.co/t/why-view-single-document-is-button-tag-in-html-and-not-a-a-tag-with-url/315583>\
**Category:** Kibana\
**Created:** [September 30, 2022, 2:39pm UTC](https://discuss.elastic.co/t/why-view-single-document-is-button-tag-in-html-and-not-a-a-tag-with-url/315583 "2022-09-30T14:39:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryancev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bryancev/32/111498_2.png) [@bryancev](https://discuss.elastic.co/u/bryancev)\
**Post date:** [September 30, 2022, 2:39pm UTC](https://discuss.elastic.co/t/why-view-single-document-is-button-tag-in-html-and-not-a-a-tag-with-url/315583/1 "2022-09-30T14:39:10Z")

</div>

Hi all!

1. Why in Kibana version 8.1.2 the "View single document" document view is implemented via the button tag? This is extremely inconvenient, since I would like to open documents in a new tab by clicking the mouse wheel.

HTML example:

 ![1](https://us1.discourse-cdn.com/elastic/original/3X/a/d/ad7442dbe39c54ac0753b75474d97480a5f2fc0e.png)

1. There is also Kibana version 7.9, there "View single document" implementation through the a tag

HTML example:

 ![2](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f5afb78d5367241f0904a98f86dfd34857a73599.png)

What could be the reason for this and what are the options for solving the problem other than upgrading to version 8.4?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [October 7, 2022, 9:50pm UTC](https://discuss.elastic.co/t/why-view-single-document-is-button-tag-in-html-and-not-a-a-tag-with-url/315583/2 "2022-10-07T21:50:25Z")

</div>

Wow this is interesting. @matw any inputs?

Thanks,  
bhavya

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [October 11, 2022, 5:04pm UTC](https://discuss.elastic.co/t/why-view-single-document-is-button-tag-in-html-and-not-a-a-tag-with-url/315583/3 "2022-10-11T17:04:14Z")

</div>

Hi @bryancev  
You're very right about that "View single document" should be a link. in your first example the "" element is of type "button", which on top of the wrong usage in this case totally makes no sense. So thank you for your input. Sadly we can't backport this change. So the only way to fix it would be to upgrade.  
Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2022, 5:05pm UTC](https://discuss.elastic.co/t/why-view-single-document-is-button-tag-in-html-and-not-a-a-tag-with-url/315583/4 "2022-11-08T17:05:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
