Questions tagged [html]

HTML (HyperText Markup Language) is the predominant markup language used for creating web pages. In modern web pages, HTML is used to markup the contents of the website, while CSS and Javascript are used to define the styles and behaviors respectively.

Filter by
Sorted by
Tagged with
0
votes
1answer
65 views

HTML Elements to use with Image and Text used as a link

What are the correct HTML elements instead of just a div to use when presenting an image and text just below as one link? I would like for the image and text to be presented in an a11y correct manner.
2
votes
1answer
43 views

Same date for multiple Date inputs

I have a HTML Table with just two columns. ` Order # Date <tr> <td>12345</td> <td><input type="date" id="row1"></td> </tr> ...
2
votes
3answers
342 views

Semantic Elements and Text Formatting in HTML5

Almost every website, book, article, newspaper, etc... that contains copyrights, caveat, disclaimers, etc... displays it in small font text. Now... I'm doing a research about Semantic Elements and ...
4
votes
2answers
59 views

Does adding a “title” attribute to the “label” element instead of the “input” harm accessibility?

I'm creating an HTML interface that has an input text field with a label attached. The label has a short name for the input and I want a more detailed description to appear as a popup for visual users,...
3
votes
2answers
108 views

Should a blank option always be included in <select> inputs?

For example when asking a user what pet they have and it's a required field, a Please select option is included since the pet is currently unknown: <select required> <option value="&...
2
votes
1answer
85 views

How should non-monospace code listings be marked up in HTML? [closed]

For marking up source code beyond small fragments embedded in normal text, the official recommendation seems to be to use the code and pre elements. And this works fine if your listings should reflect ...
2
votes
3answers
123 views

Is it accessible to have lists without a heading, assuming previous lists do?

Assume this HTML structure: <h2>Our latest News and Events</h2> <ul> <li>news item 1</li> <li>news item 2</li> <li>news item 3</li> </ul&...
0
votes
2answers
170 views

Web design practices to minimize browser refresh [closed]

The design of our website is such that whenever we make some changes in CSS & JavaScript files we require the user to clear the browser cache and get the latest version of these files from the ...
2
votes
1answer
57 views

What is the best way to add edit and delete buttons to a modal?

I have a task data visualization modal, but I need to add an option to edit or delete these tasks. Where in this modal could I insert buttons to delete or edit?
0
votes
1answer
34 views

Why do some emails include a link to the same destination as the button right above them?

Can someone explain the purpose behind this practice? Is it an accessibility issue and is this practice outdated? For example: "If you have trouble with the link above, copy and paste this URL ...
2
votes
1answer
254 views

(Accessibility) - Back button placement on the page in SPA

I am working with an SPA with Angular and the designs indicates that there is a back button and it is before the Page level heading usually the H1. For SPA, it is a general practice that we place the ...
-2
votes
2answers
37 views

Help with <table> tag [closed]

I have the following code <table style="width: 100%;"> <tbody> <tr> <td style="width: 50%; border:1px solid #ccc!important; border-color:#...
1
vote
1answer
39 views

When making a website that is font-size responsive, are there any guidelines to what font-sizes authors blow text up to?

It seems an opinion whether or not, as web-developers, we should design websites taking into account the user increasing font-size (e.g. on Chrome: Chrome>Settings>Customise fonts). (Although it ...
1
vote
1answer
52 views

Should I override controls so that it handle different locale's or let the browser handle it?

Similar to A good solution how to localize and let user choose language on HTML page but I am specifically wondering about localization of control elements such as required on input or date fields. ...
0
votes
1answer
70 views

Best way to lay out sub elements in a table

I have a table that lists network switches. The headers are Model, Stack Size, and Modules. If the stack size is greater than 1, I want to be able to add the additional stack members under the lead ...
-1
votes
1answer
41 views

What design changes will improve visual appearance of the calculator [closed]

This is the HTML code for a very basic calculator. I am at beginner level on bootstrap and definitely beginner level designer. what are some changes i can do to make the visual appearance better. i ...
2
votes
2answers
129 views

Do users actually use the arrows in <input type=“number”>?

Does the average user actually use these really tiny arrows?
1
vote
1answer
67 views

HTML Email Clickable Address Link

I have a bit of a conundrum I was hoping the community could help me with. I'm developing a HTML email right now with physical address text (123 Main st. Citytown, Michigan 48484). I can certainly ...
1
vote
1answer
91 views

Need opinion on this web design FOR UX/UI/CX - Beginner in designing [closed]

Hi, first of all, sorry if I'm posting in the wrong section. I want to get an opinion about the design of an event management system. I've google on UX example design but most only show for simple ...
4
votes
2answers
368 views

How to deal with extra spacing with line-height when spacing between elements should be consistent

We want to design our website so that all elements are spaced 24px apart (paragraphs, form groups, header & content, etc.) and "related" elements (label & form field) are spaced 8px apart. We ...
4
votes
1answer
146 views

Browsers ruin password UX with dropdown menus. How can I fix it?

FYI the image above was taken with autocomplete="new-password" As you can see, the dropdown is covering the error message (which ends in "letters and numbers" (plus a few other error messages). This ...
0
votes
1answer
126 views

Number incrementers and accessibility

How are number incrementing arrows for accessibility? I would think they would be bad for keyboard users, but is there any study to back that up?
0
votes
3answers
141 views

In the holy grail layout of web design why is the navigation menu vertical and not horizontal?

i am a beginner with web design, while studying i came across the "holy grail layout" and i was just wondering why is it that the menu is vertically aligned while most modern websites tend to use a ...
0
votes
1answer
97 views

Tab order through a matrix of radio buttons

I'm building an HTML form where the user can select one of three options for each day of the week. The wireframe proposed by the designer looks like this: a matrix of radio buttons, with columns for ...
0
votes
1answer
1k views

How can I tell Chrome which input fields to remember / which will be the login credentials? [closed]

I have a Sign Up form which contains these input fields (in order): e-mail (autocomplete="email", type="email") (user)name (type="text") (display)name (type="text") password (autocomplete="new-...
1
vote
1answer
102 views

What are good ways to present an info table that has info spanning 2 vertically-adjacent cells in a middle column, & that has no other merged cells?

Explanation of question The following table illustrates the issue: HTML source for table: <table> <thead><th>Column 1</th><th>Column 2</th><th>Column 3<...
0
votes
2answers
88 views

Do HTML5 browsers have to be able to properly process HTML4 tags when the tags appear in HTML5 pages? [closed]

According to the post here, the HTML5 specification requires HTML5 browsers to be able to properly process HTML4 tags when they are in HTML5 pages. Unfortunately, the post doesn't very well ...
2
votes
2answers
2k views

For Screen Readers: How to markup a group of text items to be read as one item? Should I even try?

How might I mark up the following component in accordance with WCAG 2.1 guidelines, accessibility best practices, and with as much assistive technology compatibility as possible (I don't want to ...
2
votes
1answer
2k views

Is an English only aria-label better than no aria-label at all for non-English speakers?

We have a set of buttons that have a single icon for the content and no text content. One example, a button in the top left of a modal that has an 'X' icon which is an image file. To better ...
0
votes
1answer
162 views

Should accessible buttons include contextual information

It is possible for screen-readers to navigate the page by links, this would make sense to include links that make sense without user having to understand what is around the button. For example "Save ...
-1
votes
2answers
122 views

Should I use one form or Two?

I have two forms (below) one is a trip calculator and one a spending money calculator which are very overwhelming due to the amount of events users can calculate. There is a spending money radio on ...
1
vote
3answers
465 views

Techniques for handling opening a new tab and ensuring web accessibility with WCAG 3.2

WCAG 3.2 indicates that content should be provided in a predictable format and that subsequently when a new tab is opened on a click that the user is made aware of this. I have a webpage with a list ...
4
votes
1answer
176 views

Should “Enter” create a large or small line spacing on text editors?

On some popular rich text editors like CKEditor, the default behaviour for pressing "Enter" is to create a new paragraph (a <p> tag), while on the others, like the textarea here on Stackexchange,...
0
votes
1answer
57 views

Why can't I type directly into the HTML with FF Dev Tools? [closed]

Hopefully this question isn't too oddly specific. Let me know if it belongs on ProWebmasters instead... I'm making some mock-ups in Photoshop, using screen shots from the site in its present state as ...
0
votes
1answer
230 views

How to improve a scrollable dropdown section issue [closed]

I have an issue where the overflow of a scrollable list on a website is cutting off my dropdown menu. The scrollable list has a height constraint because it is in a modal which has a set height and ...
2
votes
2answers
21k views

Double Scroll Bar on Website [closed]

A website I am responsible for: www.livingsalads.co.uk has a double scrollbar on most browsers (chrome anyways). Which is obviously an issue as it looks bad and also browsers sometimes use the ...
104
votes
15answers
24k views

Get users to use the download button instead of right-click save

As part of our system, a web application, we have an image viewer. Previously we always displayed the full resolution image but scaled down with CSS to fit the page. For performance reasons we now ...
3
votes
2answers
8k views

Confused with what to use - List vs Table

So, I've been browsing for an hour now regarding what the best practice is for this and the majority of what I read is to use e table for tabular data and a list for lists, which makes sense. However, ...
1
vote
1answer
280 views

Should a field display it's value in its tooltip?

Should a field display it's value in the title attribute (tooltip)? For example, lets say we have a text input field and a select menu, both have a value that is fairly long, but the field width is ...
4
votes
1answer
565 views

Creating an accessible, animated, and responsive navigation system

I've been struggling for the past couple weeks to design the perfect navigation (menu) system for my personal website which I am designing. First, I need a system that is completely accessible as I ...
4
votes
2answers
171 views

Ideas for placing tab-specific actions

I've got the following tabbed interface Each tab is a scrollable list of items that can be marked as checked or not. You can click on the blue button on the top right to add a new item to the ...
0
votes
2answers
929 views

When to sanitize (remove <script> tags) text entered by a user? [closed]

I give user a CKEditor to enter some formatted text. Next (to overcome hackers) I am going to sanitize HTML (remove scripts and like). Is it OK to store in my DB the text sanitized? (Alternatively I ...
1
vote
2answers
813 views

Are URLs in alt text usable?

In a recent edit I made on UX Stack Exchange, I added some alt text to an image that contained the URL of a page at which the reader could see a textual version of the content in the image. However, ...
2
votes
1answer
59 views

UI for predicting game results

I will ask users to predict the outcome of upcoming football games. Ideas on how to enter the data a) Two separate textbox inputs b) Two separate select tags with options: 0, 1, 2, 3 ... 9, 10 c) ...
2
votes
2answers
69 views

What is the best way to assign values to an parent item

I have list of customers on database which have collection of items(storage accounts). When I select a customer , I can see all the items that are relevant to that customer as ticked. Also , I have ...
2
votes
3answers
2k views

What is the best way to tell users to scroll down in browsers?

what is the best way to tell users to scroll down in browsers? Tests showed, that users do not scroll to the original message (which they need to answer questions):
1
vote
4answers
436 views

How do you define typography styles in your designs?

When defining a style guide, which of the following is most common when naming layout components? Stating the specific H-levels to be used (i.e. H1, H2, etc.) Create your own set of naming ...
0
votes
1answer
148 views

Using placeholders on input elements

I have a number of forms where users must enter phone numbers, credit card numbers, amounts, e-mail addresses and I am using placeholders for these fields in hope to guide the user on what to type in ...
71
votes
6answers
10k views

Confusing checkboxes and radio buttons

I have a problem building a certain UI for a website. I'm going to demonstrate the problem with a simple website for a restaurant chain: Context the website has many users and many restaurants. ...
1
vote
1answer
97 views

Display or hide unavailable links

When a hyperlink is not available to a user is it best practice to hide it completely or show it in a disabled state. Example1: If I user needs to be logged in to post a new item should the "Create ...

1
2 3 4 5
7