Menu

#Attribute

34 posts

Feed·
20 of 34 posts
52 attribute names hold our 76 public pages together, and React spells eleven of them with a capital letter
📰
0Read More

52 attribute names hold our 76 public pages together, and React spells eleven of them with a capital letter

DEV Community: frontend·Daniel Pertu·12 minutes ago
#f4STCpub
#devtofrontend#devto#dev#attributes#attribute

An attribute census of 76 live server-rendered pages. 44,944 attributes in the document and 91,035 in the drawings, zero bare booleans, six attributes that appear on one page each, and 2,066 aria attributes against ten uses of role.

15s
Image alt text that helps users and search: a developer's checklist
📰
0Read More

Image alt text that helps users and search: a developer's checklist

DEV Community: html·Ankit Singh·about 11 hours ago
#EnOIC4om
#devto2#devto#dev#running#attribute

Alt text is one of the few SEO fixes that is also an accessibility fix, and it lives in your markup,...

15s
Require the agent to leave existing data-analytics attributes alone
📰
0Read More

Require the agent to leave existing data-analytics attributes alone

DEV Community: frontend·Sherotree·2 days ago
#7NXon5SF
#devtofrontend#devto#dev#analytics#attribute

Agents rename or drop data-analytics hooks while restyling a button, and dashboards go quiet. Treat those attributes as a contract.

15s
A span tag inside an attribute — the bug was the position, not the number
📰
0Read More

A span tag inside an attribute — the bug was the position, not the number

DEV Community: html·minia2a·8 days ago
#Fdgw23rT
#devto2#devto#dev#attribute#search

An hourly rewriter put a span inside an input's placeholder. Attribute values end at the next quote, so the browser closed the tag early and rendered the rest as text. 49 minutes live, and the one position the rule could not read.

15s
The Inline Layer of app.onepassapps.com: 10,574 Tags, One Style Value and Not One Event Handler
📰
0Read More

The Inline Layer of app.onepassapps.com: 10,574 Tags, One Style Value and Not One Event Handler

DEV Community: webdev·OnePassApps·13 days ago
#jCuq7r2A
#devtowebdev#devto#dev#inline#style

The inline style and event-handler layer of our own 56 pages, measured over plain HTTPS.

15s
Laravel 13 Puts #[Table] on Your Models. PHP Won't Load That Class Until newInstance()
📰
0Read More

Laravel 13 Puts #[Table] on Your Models. PHP Won't Load That Class Until newInstance()

DEV Community: laravel·Gabriel Anhaia·16 days ago
#l6w1AhTN
#devtolaravel#devto#dev#class#attribute

PHP doesn't load an attribute class when your class loads, so a domain class can carry a Laravel attribute and run without Laravel. How to catch it.

15s
HTML <input type="number">: Proper Understanding and Usage
📰
0Read More

HTML <input type="number">: Proper Understanding and Usage

DEV Community: html·Youn·18 days ago
#xPwtNYMH
#devto2#devto#dev#attribute#value

😄 This post is based on the content from coding.courses. Definition and Usage The...

15s
How to Build Accessible HTML Forms (And the Tools That Help)
📰
0Read More

How to Build Accessible HTML Forms (And the Tools That Help)

DEV Community: html·kandz·28 days ago
#YWXSn90g
#devto2#devto#dev#form#html

Building HTML forms by hand is tedious. You forget a name attribute. You miss a for on a label....

15s
TypeScript 7.1 Beta: Import Attributes in Ambient Modules
📰
0Read More

TypeScript 7.1 Beta: Import Attributes in Ambient Modules

DEV Community: javascript·Qasim Parray·about 1 month ago
#yGpcgWRu
#devtojavascript#devto#dev#type#import

TypeScript 7.1 beta lets ambient module declarations carry import attributes. Here is what replaces my copy-pasted wildcard .d.ts file, and what I che

15s
Timestamp attributes are now supported in Vercel Flags - Vercel
🖼️
0Read More

Timestamp attributes are now supported in Vercel Flags - Vercel

Vercel News·Vincent Derks·about 1 month ago
#LvyBWB3b
#vercel#time#timestamp#flags#attribute

Vercel Flags now support timestamp attributes for date-based rule evaluation. Enable flags between two dates, for account age, or other time-based conditions.

15s