# 帖子12上的'Dayv0 (Load parent post)'控件无法通过键盘操作

**URL:** <https://meta.discourse.org/t/dayv0-load-parent-post-control-present-at-post-number-12-is-not-actionable-through-keyboard/371949>\
**Category:** Bug\
**Tags:** accessibility\
**Created:** [2025年六月27日 06:53 UTC](https://meta.discourse.org/t/dayv0-load-parent-post-control-present-at-post-number-12-is-not-actionable-through-keyboard/371949 "2025-06-27T06:53:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2025年七月2日 21:21 UTC](https://meta.discourse.org/t/dayv0-load-parent-post-control-present-at-post-number-12-is-not-actionable-through-keyboard/371949/2 "2025-07-02T21:21:00Z")

</div>

感谢您报告此问题，我们已合并了一个修复程序，将在 Discourse 在该网站上更新时提供。

> <https://github.com/discourse/discourse/pull/33447>
>
> Adding an empty href to this link makes it keyboard accessible. You can now trig…ger it with the enter key. This also allows us to remove the tabindex. 
> 
> !\[image\](https://github.com/user-attachments/assets/357f7a6e-05fd-46dc-9da7-56520e9ca8f0)
> 
> 
> \`event.preventDefault();\` is neccessary because otherwise \`href=""\` was resulting in a page refresh, and another work around like \`href="#"\` was adding an entry to the browser history

---

_[View the full topic](https://meta.discourse.org/t/dayv0-load-parent-post-control-present-at-post-number-12-is-not-actionable-through-keyboard/371949)._
