Add aria labels and use semantic elements#58
Merged
Conversation
…for html but that is for some other time
danthedaniel
approved these changes
Dec 31, 2024
creesch
added a commit
that referenced
this pull request
Mar 12, 2025
This release contains a variety of new features and improvements. Things like support for newer minecraft versions, tab complete of usernames, hover events and a bunch more! # Main ## New - Translations are now retrieved per chat message from the game at run time and stored with the message. (#84) Meaning that mod messages will display, messages will show in the language you will have set and that the mod now officially supports **1.21.1 and up** as messages will always have the correct translation for that minecraft version. - Support added for the `/tell`, `/msg`, `/w` and `/me` commands. (#82) Note: This mod is never going to support all commands as this easily can be used for abuse. - Click events are now supported (#86) - Tab completion of usernames (#78) - Use "Jetbrains Mono" font for chat message/input/player names making it look more like minecraft chat (#80) - Support for legacy color/format codes and multi-space formatting (#69) ## Fixes/enhancements - Make pingPatterns case insensitive (#63) - Added aria labels and use semantic elements (#58) - Hover text now renders similar to in game (#85) and supports color code (#87) # Technical - Restructured front-end code to not only be modules but classes (#59) - Simplify player heads rendering (#70) - A variety of dependencies has been updated. # Various other For a complete overview see the [commit history](https://github.com/creesch/minecraft-web-chat/commits/main/) # Screenshots 
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #48
<div>elements with more meaningful semantic elements:<main>for the main container<section>for chat area and messages<aside>for the player list<article>for individual chat messagesAdded a few ARIA labels, although I am far from an expert these should cover the basics I think.