# ¿Cómo establecer por defecto aria-expanded en true para enlaces internos citados?

**URL:** https://meta.discourse.org/t/way-to-default-aria-expanded-true-for-quoted-internal-links/197835
**Category:** Support
**Created:** [22 Julio, 2021 07:44 UTC](https://meta.discourse.org/t/way-to-default-aria-expanded-true-for-quoted-internal-links/197835 "2021-07-22T07:44:38Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [23 Julio, 2021 21:23 UTC](https://meta.discourse.org/t/way-to-default-aria-expanded-true-for-quoted-internal-links/197835/2 "2021-07-23T21:23:54Z")

</div>

Puede que haya una solución mejor y [debemos intentar evitar jQuery](https://meta.discourse.org/t/using-jquery-once-its-removed-from-ember-discourse/177875/2), pero esto debería funcionar:

```plaintext
<script>
    $(document).ready(function(){ 
        jQuery(function(){
            jQuery('.quote-toggle').click();
        });
    }) 
</script>

```

---

_[View the full topic](https://meta.discourse.org/t/way-to-default-aria-expanded-true-for-quoted-internal-links/197835)._
