A simple tool for validating the autocomplete
attributes of HTML form elements according to the HTML specification.
For auditors:
- Install the bookmarklet
- Visit a page with forms
- Click to validate
- Review results
For developers:
- Fork the repository
- Review source code
- Run test suite
- Submit improvements
Accessibility audits:
- Form compliance checking
- Autocomplete implementation review
- Error detection and reporting
Development:
- Form validation during development
- Quality assurance testing
- Cross-browser compatibility checks
Documentation:
- Generate validation reports
- Export detailed CSV audits
- Track compliance issues
- Create accessibility reports
Core Improvements:
- Added CSV export with detailed validation data
- Enhanced data export capabilities
- Improved validation engine
UI & Accessibility:
- Dark/light theme with system preference detection
- Enhanced visual feedback and animations
- Improved ARIA implementation
Architecture:
- Centralized message system
- Improved control panel layout
- Enhanced validation reporting
Installation:
- Create a new bookmark in your browser
- Copy the minified code from
detectAutocomplete.min.js
- Paste it as the bookmark URL
Basic Usage:
- Navigate to any webpage with forms
- Click the bookmarklet to start validation
- Review results and error messages
- Export reports if needed
Results Indicators:
- π’ Green: Valid autocomplete value
- π΄ Red: Invalid syntax with suggestion
- π‘ Yellow: Missing attribute (optional)
Control Panel Features:
- Validation statistics
- Visual indicators toggle
- Theme switching
- CSV export
- Panel controls
- Validation reset
Validation Engine:
- π Form Analysis: Comprehensive form element scanning
- β Syntax Validation: Advanced checking with suggestions
- βοΈ Multiple Validation Types: Syntax, sections, tokens
User Interface:
- π― Visual Feedback: Clear status indicators
- π Theme System: Automatic light/dark modes
- β¨ Modern Design: Responsive layout with animations
Accessibility & Export:
- βΏ A11y Support: Screen reader optimization
- π I18n Ready: Centralized messaging
- π Data Export: Detailed CSV reports
Personal Information:
name
,given-name
,family-name
email
,tel
,url
organization
,organization-title
bday
,sex
,language
Address Information:
street-address
,country
,postal-code
address-line1
,address-line2
address-level1
,address-level2
country-name
Payment Information:
cc-name
,cc-number
,cc-exp
cc-type
,transaction-currency
transaction-amount
Credentials:
username
,current-password
new-password
,one-time-code
Section Prefixes:
shipping
: Shipping informationbilling
: Billing detailshome
,work
: Contact informationmobile
,fax
,pager
: Phone numbers
Full list of supported values β
Core Components:
-
Validation Layer:
- Syntax and error detection
- Section validation
- Token processing
- Error management
-
Interface Layer:
- Control panel
- Theme management
- Animation system
- Visual feedback
-
Data Layer:
- Message handling
- Internationalization
- Export system
- Metadata management
Performance Features:
- Optimized DOM operations
- Efficient animations
- Batched updates
- Smart data structures
Process Flow:
- Form detection
- Attribute analysis
- Validation processing
- Error handling
- Visual feedback
- Data export
Validation Types:
-
Syntax Checking:
- Standard values
- Case sensitivity
- Special characters
- Unicode support
-
Section Analysis:
- Prefix validation
- Combined values
- Token ordering
- Format verification
Error Management:
- Detailed messages
- Context-specific feedback
- Correction suggestions
- Standards references
Export Capabilities:
- Structured reports
- Field metadata
- Validation status
- Error details
Supported Browsers:
- Google Chrome (latest)
- Mozilla Firefox (latest)
- Safari 14+
- Microsoft Edge (Chromium)
Feature Support:
- CSV export
- Theme switching
- Animations
- Flexible UI
Requirements:
- Modern JavaScript support
- DOM manipulation capabilities
- CSS Grid support
- Local storage (for preferences)
Included Features:
- Syntax validation
- HTML5 compliance
- Error detection
- Correction suggestions
- Export capabilities
Not Included:
- Semantic validation
- Field type checking
- Content validation
- Business logic
Technical Limitations:
- Browser compatibility
- Performance constraints
- DOM manipulation limits
- Export size limits
For next steps, please refer to the ROADMAP.md file.
For contributing guidelines, please refer to the CONTRIBUTING.md file.
We are committed to maintaining a welcoming and respectful community. Please read our Code of Conduct for more details.
Stay Updated:
- Release notifications
- Changelog updates
- Feature announcements
- Community news
Current Version: 1.3.2
Core Features:
- Full syntax validation
- Section prefix support
- Error suggestions
- CSV export
- Theme switching
- Enhanced UI
Recent Improvements:
- Centralized message system
- Enhanced accessibility
- Improved data export
- System theme detection
- Performance optimizations
Upcoming Features:
- Token order validation
- Advanced section rules
- Enhanced error reporting
- Result caching
- DOM optimization
- Keyboard shortcuts
Repository:
- GitHub: detectAutocomplete
- Issues: Bug Tracker
Contributors:
Resources:
This project is licensed under the MIT License. See the LICENSE file for more details.