Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Tags: the tag selector has no id or name (Chrome Issues panel on every page of a member)

Aperta
#619 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@guidol-ive ci sta già lavorando.

Dal 28/10/2026.

  • #623 di @guidol-ive — aperta

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
1/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
php
Ambito
accessibility

Direzione di ricerca

Read system/core/tags.php around line 109 in tagList() and inspect the linked pull request #623, which already contains the proposed fix. The issue reports a Chrome accessibility warning for the tag selector and supplies a browser test that fails on main and passes on the branch; completion is having an id and accessible name and confirming that test passes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Component: User interface Impact: Low Level: Easy Type: Bug Value: Users

Rule. A form field must have an id or a name attribute, so the browser can autofill it and assistive
technology can address it. Chrome reports a field without either in its Issues panel
("A form field element should have an id or name attribute", FormEmptyIdAndNameAttributesForInputError).

Place. system/core/tags.php:109 (upstream/main d97ab7b), in tagList():

$html.= '<select class="remainingTags" onchange="selectTag(this, this.value);">';

Evidence. Logged in as a member or administrator, every page with a tag list (home page, text page, article,
mailing list, festival, ...) gets one Issues-panel report, on desktop and phone, PHP 8.2 and 8.5:

GenericIssue FormEmptyIdAndNameAttributesForInputError
<select class="remainingTags" onchange="selectTag(this, this.value);"><option value="_add_" selected="" disabled="">toevoegen...</option>

The select also has no label, so a screen reader announces it without a name.

Fix. Give the select an id and an accessible name. The tag list is on a page once (hypha_indexTags() and the
three Ajax answers that replace #tagList), so a fixed id is unique:

$html.= '<select id="remainingTags" class="remainingTags" aria-label="'.htmlspecialchars(__('tags')).'" onchange="selectTag(this, this.value);">';

No name: the select sits in the page-wide form, and a name would post its value with every command.

A pull request with the fix follows (commit "tags: Give the tag selector an id and an accessible name"), tested on PHP
8.2 and 8.5 with a browser test that reads the Issues panel of Chrome (fails on main, passes on the branch).

Found by a crawl of every page type with Chrome, reading the console and the Issues panel, as visitor, member and administrator, on desktop and phone.

🤖 Generated with Claude Code

Lingua principale
JavaScript
Stelle
5
Fork
9
Merge medio
18h 7m
PR unite (30g)
11

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PlanBCode/hypha

Tutte le issue di PlanBCode/hypha

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.