--- id: 587d7790367417b2b2512aaf title: Make Links Navigatable with HTML Access Keys challengeType: 0 videoUrl: '' localeTitle: Tornar Links Navegáveis ​​com Chaves de Acesso HTML --- ## Description
O HTML oferece o atributo accesskey para especificar uma tecla de atalho para ativar ou trazer foco para um elemento. Isso pode tornar a navegação mais eficiente para usuários somente de teclado. O HTML5 permite que esse atributo seja usado em qualquer elemento, mas é particularmente útil quando usado com os interativos. Isso inclui links, botões e controles de formulário. Aqui está um exemplo: <button accesskey="b">Important Button</button>
## Instructions
O Camper Cat quer que os links em torno dos dois títulos de artigos de blog tenham atalhos de teclado para que os usuários de seu site possam navegar rapidamente para a história completa. Adicione um atributo accesskey aos dois links e defina o primeiro para "g" (para Garfield) e o segundo para "c" (para Chuck Norris).
## Tests
```yml tests: - text: Seu código deve adicionar um accesskey atributo à a tag com o id de "primeira". testString: 'assert($("#first").attr("accesskey"), "Your code should add an accesskey attribute to the a tag with the id of "first".");' - text: Seu código deve adicionar um accesskey atributo à a tag com o id de "segunda". testString: 'assert($("#second").attr("accesskey"), "Your code should add an accesskey attribute to the a tag with the id of "second".");' - text: Seu código deve definir o accesskey atributo no a tag com o id de "primeiro" a "g". Note que o caso é importante. testString: 'assert($("#first").attr("accesskey") == "g", "Your code should set the accesskey attribute on the a tag with the id of "first" to "g". Note that case matters.");' - text: Seu código deve definir o accesskey atributo no a tag com o id de "segunda" para "c". Note que o caso é importante. testString: 'assert($("#second").attr("accesskey") == "c", "Your code should set the accesskey attribute on the a tag with the id of "second" to "c". Note that case matters.");' ```
## Challenge Seed
```html

Deep Thoughts with Master Camper Cat

The Garfield Files: Lasagna as Training Fuel?

The internet is littered with varying opinions on nutritional paradigms, from catnip paleo to hairball cleanses. But let's turn our attention to an often overlooked fitness fuel, and examine the protein-carb-NOM trifecta that is lasagna...

Is Chuck Norris a Cat Person?

Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence anyone who disagrees with this fact mysteriously disappears soon after. But the real question is, is he a cat person?...

```
## Solution
```js // solution required ```